fix a comment error.
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -330,7 +330,7 @@ func (input *BeegoInput) ParseFormOrMulitForm(maxMemory int64) error { | ... | @@ -330,7 +330,7 @@ func (input *BeegoInput) ParseFormOrMulitForm(maxMemory int64) error { |
| 330 | // Bind data from request.Form[key] to dest | 330 | // Bind data from request.Form[key] to dest |
| 331 | // like /?id=123&isok=true&ft=1.2&ol[0]=1&ol[1]=2&ul[]=str&ul[]=array&user.Name=astaxie | 331 | // like /?id=123&isok=true&ft=1.2&ol[0]=1&ol[1]=2&ul[]=str&ul[]=array&user.Name=astaxie |
| 332 | // var id int beegoInput.Bind(&id, "id") id ==123 | 332 | // var id int beegoInput.Bind(&id, "id") id ==123 |
| 333 | // var isok bool beegoInput.Bind(&isok, "isok") id ==true | 333 | // var isok bool beegoInput.Bind(&isok, "isok") isok ==true |
| 334 | // var ft float64 beegoInput.Bind(&ft, "ft") ft ==1.2 | 334 | // var ft float64 beegoInput.Bind(&ft, "ft") ft ==1.2 |
| 335 | // ol := make([]int, 0, 2) beegoInput.Bind(&ol, "ol") ol ==[1 2] | 335 | // ol := make([]int, 0, 2) beegoInput.Bind(&ol, "ol") ol ==[1 2] |
| 336 | // ul := make([]string, 0, 2) beegoInput.Bind(&ul, "ul") ul ==[str array] | 336 | // ul := make([]string, 0, 2) beegoInput.Bind(&ul, "ul") ul ==[str array] | ... | ... |
-
Please register or sign in to post a comment