We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0940a3 commit 2948f20Copy full SHA for 2948f20
4.1.md
@@ -45,6 +45,7 @@ http包里面有一个很简单的方式就可以获取,我们在前面web的
45
}
46
47
func login(w http.ResponseWriter, r *http.Request) {
48
+ r.ParseForm()
49
fmt.Println("method:", r.Method) //获取请求的方法
50
if r.Method == "GET" {
51
t, _ := template.ParseFiles("login.gtpl")
0 commit comments