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
How can I validate the following map[string]string? It's failing me always with the ISO code but everything is correct.
map[string]string
Translations map[string]string `validate:"min=1,dive,keys,iso3166_1_alpha2,endkeys,required"`
The text was updated successfully, but these errors were encountered:
Could you provide a test case in which your data does not pass the iso3166_1_alpha2 validation? Similar to
iso3166_1_alpha2
validator/validator_test.go
Lines 12612 to 12614 in 6c3307e
Sorry, something went wrong.
No branches or pull requests
Package version eg. v10: v10.23.0
Question:
How can I validate the following
map[string]string
? It's failing me always with the ISO code but everything is correct.Code sample, to showcase or reproduce:
The text was updated successfully, but these errors were encountered: