ShouldBindWith binds the passed struct pointer using the specified binding engine. See the binding package.
(obj any, b binding.Binding)
| 917 | // ShouldBindWith binds the passed struct pointer using the specified binding engine. |
| 918 | // See the binding package. |
| 919 | func (c *Context) ShouldBindWith(obj any, b binding.Binding) error { |
| 920 | return b.Bind(c.Request, obj) |
| 921 | } |
| 922 | |
| 923 | // ShouldBindBodyWith is similar with ShouldBindWith, but it stores the request |
| 924 | // body into the context, and reuse when it is called again. |
no test coverage detected