Sign in
go
/
website
/
7b9aa998daa093e32ba52549924a0927f5879d3f
/
.
/
_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!")
}