comment update for package gvalid

This commit is contained in:
John Guo
2021-09-27 22:52:14 +08:00
parent 993bf897cf
commit f2bab9777d

View File

@ -84,7 +84,7 @@ func (v *Validator) checkRequired(value interface{}, ruleKey, rulePattern string
}
}
// Required if all of given fields are not empty.
// Required if all given fields are not empty.
// Example: required-with:id,name
case "required-with-all":
required = true