package main
import (
"fmt"
"net/http"
)
func IndexHandler(resp http.ResponseWriter, req *http.Request) {
fmt.Println("hello world")
}
func main() {
http.HandleFunc("/", IndexHandler)
http.ListenAndServe("127.0.0.0:8200", nil)
}
网友评论