Skip to content

Commit 990c44a

Browse files
authored
docs(context): Added deprecation comments to BindWith (#3880)
1 parent 861ffb9 commit 990c44a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: deprecated.go

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ import (
1212

1313
// BindWith binds the passed struct pointer using the specified binding engine.
1414
// See the binding package.
15+
//
16+
// Deprecated: Use MustBindWith or ShouldBindWith.
1517
func (c *Context) BindWith(obj any, b binding.Binding) error {
1618
log.Println(`BindWith(\"any, binding.Binding\") error is going to
1719
be deprecated, please check issue #662 and either use MustBindWith() if you

0 commit comments

Comments
 (0)