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 2948f20 commit b091c8dCopy full SHA for b091c8d
4.1.md
@@ -45,7 +45,6 @@ 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