Skip to content

Commit

Permalink
docs(context): Added deprecation comments to BindWith (#3880)
Browse files Browse the repository at this point in the history
  • Loading branch information
flc1125 authored Mar 12, 2024
1 parent 861ffb9 commit 990c44a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deprecated.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import (

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

0 comments on commit 990c44a

Please sign in to comment.