(rw http.ResponseWriter, req *http.Request)
| 63 | } |
| 64 | |
| 65 | func (h *helloHandler) ServeHTTP(rw http.ResponseWriter, req *http.Request) { |
| 66 | rw.Header().Set("Content-Type", "text/plain; charset=utf-8") |
| 67 | rw.WriteHeader(200) |
| 68 | fmt.Fprintf(rw, "Hello %s\n", h.who) |
| 69 | } |
| 70 | |
| 71 | func main() { |
| 72 | flag.Parse() |
nothing calls this directly
no test coverage detected