Sign in
go
/
talks
/
a6d3b2ab23e8df563bc28116a4a888057e28d5d0
/
.
/
2012
/
zen
/
http.go
blob: 4522c964be55d52986cb12a38dfccb24bec29391 [
file
] [
log
] [
blame
]
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!")
}