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