原书出处
精通 Go(Mastering Go 中文版)
247 12.8.1 测试 HTTP handler
func StatusNotFound(w http.ResponseWriter, r *http.Request) { fmt.Fprintf(w, "Serving: %s\n", r.URL.Path) fmt.Printf("Served: %s\n", r.Host) } func My
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/精通 Go(Mastering Go 中文版)/_epub-src/12.8.1.html
EPUB SHA-256:0d52179a26f231568b311cf079e550da691bada67bb8d8be008b7940dd2c0848