Validate hook
Last updated
Was this helpful?
Last updated
Was this helpful?
The validate hook is the hook called to validate your input after it has been parsed. The default expected error for a validation error by the error hook is a map[string]error
. By default the hook use .
A validate hook must have this signature: