Last active
May 28, 2020 03:23
-
-
Save woat/0fbba59597ff22446f02f8e8b28fc548 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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