|
@@ -15,7 +15,7 @@ import (
|
|
|
func (c *Context) BindWith(obj interface{}, b binding.Binding) error {
|
|
func (c *Context) BindWith(obj interface{}, b binding.Binding) error {
|
|
|
log.Println(`BindWith(\"interface{}, binding.Binding\") error is going to
|
|
log.Println(`BindWith(\"interface{}, binding.Binding\") error is going to
|
|
|
be deprecated, please check issue #662 and either use MustBindWith() if you
|
|
be deprecated, please check issue #662 and either use MustBindWith() if you
|
|
|
- want HTTP 400 to be automatically returned if any error occur, of use
|
|
|
|
|
|
|
+ want HTTP 400 to be automatically returned if any error occur, or use
|
|
|
ShouldBindWith() if you need to manage the error.`)
|
|
ShouldBindWith() if you need to manage the error.`)
|
|
|
return c.MustBindWith(obj, b)
|
|
return c.MustBindWith(obj, b)
|
|
|
}
|
|
}
|