We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01bf6ba commit 9aa754dCopy full SHA for 9aa754d
rules.go
@@ -783,7 +783,7 @@ func init() {
783
if message != "" {
784
return errors.New(message)
785
}
786
- 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)
787
788
case reflect.Int:
789
in := value.(int)
0 commit comments