We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 642cfbe + 2583c59 commit 321dfd3Copy full SHA for 321dfd3
zh/13.2.md
@@ -14,7 +14,7 @@ HTTP路由组件负责将HTTP请求交到对应的函数处理(或者是一个st
14
fmt.Fprintf(w, "Hello, %q", html.EscapeString(r.URL.Path))
15
}
16
17
- http.Handle("/foo", fooHandler)
+ http.HandleFunc("/foo", fooHandler)
18
19
http.HandleFunc("/bar", func(w http.ResponseWriter, r *http.Request) {
20
0 commit comments