docs(context): Added deprecation comments to BindWith

This commit is contained in:
Flc゛ 2024-03-12 08:42:19 +08:00
parent ab8042e9e5
commit bf1e38723d

View File

@ -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