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