Merge pull request #141 from kelcecil/readme-typo
Fix HTML form binding example typo
This commit is contained in:
commit
79c66136e0
@ -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
Block a user