版本回滚

This commit is contained in:
maxupeng
2012-12-07 17:08:22 +08:00
parent 2948f20edd
commit b091c8dc54

1
4.1.md
View File

@@ -45,7 +45,6 @@ http包里面有一个很简单的方式就可以获取我们在前面web的
}
func login(w http.ResponseWriter, r *http.Request) {
r.ParseForm()
fmt.Println("method:", r.Method) //获取请求的方法
if r.Method == "GET" {
t, _ := template.ParseFiles("login.gtpl")