Skip to content

Commit

Permalink
fix typo (gin-gonic#1103)
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkerou authored and appleboy committed Sep 8, 2017
1 parent c9b3441 commit b1ee49d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deprecated.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
func (c *Context) BindWith(obj interface{}, b binding.Binding) error {
log.Println(`BindWith(\"interface{}, binding.Binding\") error is going to
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.`)
return c.MustBindWith(obj, b)
}

0 comments on commit b1ee49d

Please sign in to comment.