1. proxy转发 import ( "fmt" "net/http"func sayHello(w http.ResponseWriter, r *http.Request) { fmt.Println("topgoer.com是个不错的网站我是9091里面的")}func main() { if err != nil { fmt.Println("HTTP server failed,err:", err) return }