Testing Go http.Request.FormFile?

How do I set the Request.FormFile when trying to test an endpoint? Partial code: func (a *EP) Endpoint(w http.ResponseWriter, r *http.Request) { ... x, err := strconv.Atoi(r.FormValue("x...