cmd/helloserver: make a better example request info dumper
This commit is contained in:
parent
43535b44c3
commit
ab9133c917
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue