diff --git a/binding/binding.go b/binding/binding.go index 1ca431c7..1a984777 100644 --- a/binding/binding.go +++ b/binding/binding.go @@ -29,7 +29,7 @@ type Binding interface { Bind(*http.Request, interface{}) error } -// BindingBody adds BindBody method to Binding. BindBody is similar with Bind, +// BindingBody adds BindBody method to Binding. BindBody is similar with Bind, // but it reads the body from supplied bytes instead of req.Body. type BindingBody interface { Binding diff --git a/context.go b/context.go index bbca1ff2..9a51e461 100755 --- a/context.go +++ b/context.go @@ -512,7 +512,7 @@ func (c *Context) ShouldBindWith(obj interface{}, b binding.Binding) error { // ShouldBindBodyWith is similar with ShouldBindWith, but it stores the request // body into the context, and reuse when it is called again. // -// NOTE: This method reads the body before binding. So you should use +// NOTE: This method reads the body before binding. So you should use // ShouldBindWith for better performance if you need to call only once. func (c *Context) ShouldBindBodyWith( obj interface{}, bb binding.BindingBody,