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