(w http.ResponseWriter, r *http.Request)
| 148 | } |
| 149 | |
| 150 | func httpHelloName(w http.ResponseWriter, r *http.Request) { |
| 151 | name := r.FormValue("name") |
| 152 | _, _ = fmt.Fprintf(w, "Hello, %s!", name) |
| 153 | } |
| 154 | |
| 155 | func TestHTTPRequestWithNoParams(t *testing.T) { |
| 156 | var got *http.Request |
nothing calls this directly
no test coverage detected
searching dependent graphs…