Skip to content

Instantly share code, notes, and snippets.

@woat
Last active May 28, 2020 03:23
Show Gist options
  • Save woat/0fbba59597ff22446f02f8e8b28fc548 to your computer and use it in GitHub Desktop.
Save woat/0fbba59597ff22446f02f8e8b28fc548 to your computer and use it in GitHub Desktop.
package main
import (
"fmt"
"net/http"
)
func fn(w http.ResponseWriter, r *http.Request) {
q := r.URL.Query()
fmt.Fprintf(w, "Hello " + q.Get("name"))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment