From ab9133c9174a28df08f3daf9e015520f72350e47 Mon Sep 17 00:00:00 2001 From: Cadey Dodrill Date: Thu, 19 Jan 2017 17:16:40 -0800 Subject: [PATCH] cmd/helloserver: make a better example request info dumper --- cmd/helloserver/main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/helloserver/main.go b/cmd/helloserver/main.go index f24af3f..d7d7fd9 100644 --- a/cmd/helloserver/main.go +++ b/cmd/helloserver/main.go @@ -16,5 +16,6 @@ func main() { } 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) }