ShouldBindBodyWithTOML is a shortcut for c.ShouldBindBodyWith(obj, binding.TOML).
(obj any)
| 959 | |
| 960 | // ShouldBindBodyWithTOML is a shortcut for c.ShouldBindBodyWith(obj, binding.TOML). |
| 961 | func (c *Context) ShouldBindBodyWithTOML(obj any) error { |
| 962 | return c.ShouldBindBodyWith(obj, binding.TOML) |
| 963 | } |
| 964 | |
| 965 | // ShouldBindBodyWithPlain is a shortcut for c.ShouldBindBodyWith(obj, binding.Plain). |
| 966 | func (c *Context) ShouldBindBodyWithPlain(obj any) error { |