package mainimport ( "io" "log" "net/http")//hello world, the web serverfunc HelloServer(w http.ResponseWriter, req *http.Request) { io.WriteString(w, "hello, world!\n")}func main() { http.HandleFunc("/hello", HelloServer) err := http.ListenAndServe(":8800", nil) if err != nil { log.Fatal("ListenAndServe: ", err) }}