docs(context): Added deprecation comments to BindWith (#3880)
This commit is contained in:
parent
861ffb9181
commit
990c44aebf
@ -12,6 +12,8 @@ import (
|
|||||||
|
|
||||||
// BindWith binds the passed struct pointer using the specified binding engine.
|
// BindWith binds the passed struct pointer using the specified binding engine.
|
||||||
// See the binding package.
|
// See the binding package.
|
||||||
|
//
|
||||||
|
// Deprecated: Use MustBindWith or ShouldBindWith.
|
||||||
func (c *Context) BindWith(obj any, b binding.Binding) error {
|
func (c *Context) BindWith(obj any, b binding.Binding) error {
|
||||||
log.Println(`BindWith(\"any, binding.Binding\") error is going to
|
log.Println(`BindWith(\"any, 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
|
||||||
|
Loading…
Reference in New Issue
Block a user