mirror of https://github.com/gin-gonic/gin.git
blank line removed
This commit is contained in:
parent
c7013e4ea2
commit
f06e80799b
|
@ -185,7 +185,6 @@ func main() {
|
||||||
// you can bind multipart form with explicit binding declaration:
|
// you can bind multipart form with explicit binding declaration:
|
||||||
// c.BindWith(&form, binding.Form)
|
// c.BindWith(&form, binding.Form)
|
||||||
// or you can simply use autobinding with Bind method:
|
// or you can simply use autobinding with Bind method:
|
||||||
|
|
||||||
c.Bind(&form) // in this case proper binding will be automatically selected
|
c.Bind(&form) // in this case proper binding will be automatically selected
|
||||||
|
|
||||||
if form.User == "user" && form.Password == "password" {
|
if form.User == "user" && form.Password == "password" {
|
||||||
|
|
Loading…
Reference in New Issue