Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/glacials/talks. a grouping of talks I have done!
Something went wrong. Try again.
1234567891011121314151617// main.gopackage main
import ( "net/http")
func main() { http.HandleFunc("/", handler) http.ListenAndServe(":8080", nil)}
func handler(w http.ResponseWriter, req *http.Request) { w.WriteHeader(401) w.Write([]byte("Hello, world!\n"))}