BindUnmarshaler is the interface used to wrap the UnmarshalParam method.
| 181 | |
| 182 | // BindUnmarshaler is the interface used to wrap the UnmarshalParam method. |
| 183 | type BindUnmarshaler interface { |
| 184 | // UnmarshalParam decodes and assigns a value from a form or query param. |
| 185 | UnmarshalParam(param string) error |
| 186 | } |
| 187 | |
| 188 | // trySetCustom tries to set a custom type value |
| 189 | // If the value implements the BindUnmarshaler interface, it will be used to set the value, we will return `true` |
no outgoing calls
no test coverage detected