| 
														
															@@ -2,6 +2,7 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 // Use of this source code is governed by a MIT style 
														 | 
														
														 | 
														
															 // Use of this source code is governed by a MIT style 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 // license that can be found in the LICENSE file. 
														 | 
														
														 | 
														
															 // license that can be found in the LICENSE file. 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+//go:build !nomsgpack 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 // +build !nomsgpack 
														 | 
														
														 | 
														
															 // +build !nomsgpack 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 package binding 
														 | 
														
														 | 
														
															 package binding 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -89,6 +90,11 @@ func Bind(req *http.Request, obj interface{}) error { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	return MustBindWith(req, obj, b) 
														 | 
														
														 | 
														
															 	return MustBindWith(req, obj, b) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 } 
														 | 
														
														 | 
														
															 } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+// BindHeader bind with header 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+func BindHeader(req *http.Request, obj interface{}) error { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+	return Header.Bind(req, obj) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 // MustBindWith binds the passed struct pointer using the specified binding engine. 
														 | 
														
														 | 
														
															 // MustBindWith binds the passed struct pointer using the specified binding engine. 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 // It will abort the request with HTTP 400 if any error occurs. 
														 | 
														
														 | 
														
															 // It will abort the request with HTTP 400 if any error occurs. 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 // See the binding package. 
														 | 
														
														 | 
														
															 // See the binding package. 
														 |