56dfe418 by Lionel Lee

fix a comment error.

1 parent 5d8187d0
...@@ -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]
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!