Sign in
go
/
talks
/
70bcadd597ce434db7f38689b4756e4e6333a3cf
/
.
/
2012
/
zen
/
http.go
blob: 717d77dafe2273311da78159017fc94a03f0507f [
file
] [
log
] [
blame
]
// +build 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!")
}