We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why not add Validator option, but not inside the code, only a default struct that after each one can config with the validator that want.
Like: render.Validator := &DefaultValidator{...} ....
render.Validator := &DefaultValidator{...} ....
and after use something like: render.Validate(...)
render.Validate(...)
or something inside de Bind.
What do you think?
The text was updated successfully, but these errors were encountered:
Why couldn't you add your validation into a custom render.Bind method and then call the default render.Bind method?
Sorry, something went wrong.
No branches or pull requests
Why not add Validator option, but not inside the code, only a default struct that after each one can config with the validator that want.
Like:
render.Validator := &DefaultValidator{...} ....
and after use something like:
render.Validate(...)
or something inside de Bind.
What do you think?
The text was updated successfully, but these errors were encountered: