We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a5eff8 commit 2583c59Copy full SHA for 2583c59
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