New issue
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
How to validate slice of struct field #88
Comments
hi @bhill77 did you got the answer for this? |
I iterate the slice and validate in the loop. I think this library doesn't support slice validation |
Please use custom validation rules. Library supports https://github.com/thedevsaddam/govalidator/blob/master/doc/CUSTOM_RULE.md |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If I have struct like this:
How to validate contact Type and value?
The text was updated successfully, but these errors were encountered: