cmd/helloserver: make a better example request info dumper

This commit is contained in:
Cadey Ratio 2017-01-19 17:16:40 -08:00
parent 43535b44c3
commit ab9133c917
1 changed files with 2 additions and 1 deletions

View File

@ -16,5 +16,6 @@ func main() {
} }
func handle(w http.ResponseWriter, r *http.Request) { func handle(w http.ResponseWriter, r *http.Request) {
fmt.Fprintln(w, "Hello garukun, it's me xena. Hire me and I can make something like this for vungle.") fmt.Fprintln(w, "Route is go!")
fmt.Fprintf(w, "%#v\n", r.Header)
} }