mirror of https://github.com/gin-gonic/gin.git
Fix HTML form binding example typo
This commit is contained in:
parent
aa7b00a083
commit
eaefeeb0fd
|
@ -261,7 +261,7 @@ func main() {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
// Example for binding a HTLM form (user=manu&password=123)
|
// Example for binding a HTML form (user=manu&password=123)
|
||||||
r.POST("/login", func(c *gin.Context) {
|
r.POST("/login", func(c *gin.Context) {
|
||||||
var form LoginForm
|
var form LoginForm
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue