fix a comment error.
This commit is contained in:
		
							parent
							
								
									5d8187d005
								
							
						
					
					
						commit
						56dfe418dd
					
				@ -306,7 +306,7 @@ func (input *BeegoInput) ParseFormOrMulitForm(maxMemory int64) error {
 | 
				
			|||||||
// Bind data from request.Form[key] to dest
 | 
					// Bind data from request.Form[key] to dest
 | 
				
			||||||
// like /?id=123&isok=true&ft=1.2&ol[0]=1&ol[1]=2&ul[]=str&ul[]=array&user.Name=astaxie
 | 
					// like /?id=123&isok=true&ft=1.2&ol[0]=1&ol[1]=2&ul[]=str&ul[]=array&user.Name=astaxie
 | 
				
			||||||
// var id int  beegoInput.Bind(&id, "id")  id ==123
 | 
					// var id int  beegoInput.Bind(&id, "id")  id ==123
 | 
				
			||||||
// var isok bool  beegoInput.Bind(&isok, "isok")  id ==true
 | 
					// var isok bool  beegoInput.Bind(&isok, "isok")  isok ==true
 | 
				
			||||||
// var ft float64  beegoInput.Bind(&ft, "ft")  ft ==1.2
 | 
					// var ft float64  beegoInput.Bind(&ft, "ft")  ft ==1.2
 | 
				
			||||||
// ol := make([]int, 0, 2)  beegoInput.Bind(&ol, "ol")  ol ==[1 2]
 | 
					// ol := make([]int, 0, 2)  beegoInput.Bind(&ol, "ol")  ol ==[1 2]
 | 
				
			||||||
// ul := make([]string, 0, 2)  beegoInput.Bind(&ul, "ul")  ul ==[str array]
 | 
					// ul := make([]string, 0, 2)  beegoInput.Bind(&ul, "ul")  ul ==[str array]
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user