Sign in
go
/
website
/
25907e1a9659bf8d741f2a474a7c4ca6b818a036
/
.
/
_content
/
talks
/
2012
/
zen
/
http.go
blob: f3b25f7b175ca4df5933ed3c0e75419bf465da4c [
file
] [
log
] [
blame
]
// +build ignore,OMIT
package main
import (
"fmt"
"net/http"
)
func main() {
http.HandleFunc("/", hello)
http.ListenAndServe("localhost:8000", nil)
}
func hello(w http.ResponseWriter, r *http.Request) {
fmt.Fprintln(w, "Hello, Pythonistas!")
}