Skip to content
Myr

fix typo (#1103)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by 田欧 · committed by Bo-Yi Wu · parent c9b3441 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:deprecated.go+1 added-1 removed
13 unmodified lines
14// See the binding package.15func (c *Context) BindWith(obj interface{}, b binding.Binding) error {16 log.Println(`BindWith(\"interface{}, binding.Binding\") error is going to17 be deprecated, please check issue #662 and either use MustBindWith() if you18 want HTTP 400 to be automatically returned if any error occur, of use18 want HTTP 400 to be automatically returned if any error occur, or use19 ShouldBindWith() if you need to manage the error.`)20 return c.MustBindWith(obj, b)21}