README ¶ package main import ( "fmt" "net/http" "net/url" ) func handler(w http.ResponseWriter, r *http.Request) { u := r.URL m, _ := url.ParseQuery(u.RawQuery) value, ok := m["user"] if ok { fmt.Fprintf(w, "hello %s.\n", value[0]) } } func main() { http.HandleFunc("/", handler) http.ListenAndServe(":8800", nil) } Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files main.go Click to show internal directories. Click to hide internal directories.