Skip to content
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

send params to govalidator custom messages issue #79 #80

Open
wants to merge 9 commits into
base: dev
Choose a base branch
from
2 changes: 1 addition & 1 deletion rules.go
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@ func init() {
if message != "" {
return errors.New(message)
}
return fmt.Errorf("The %s field must be minimum %d in size", field, lenInt)
return fmt.Errorf("The %s field must be maximum %d in size", field, lenInt)
}
case reflect.Int:
in := value.(int)
Expand Down