Codebase list golang-github-go-playground-validator-v10 / 514c9db
Fix excludedWithoutAll comment (#673) Function comment mistakenly referred to a different function João Francisco authored 3 years ago GitHub committed 3 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
15431543 return true
15441544 }
15451545
1546 // RequiredWithoutAll is the validation function
1546 // ExcludedWithoutAll is the validation function
15471547 // The field under validation must not be present or is empty when all of the other specified fields are not present.
15481548 func excludedWithoutAll(fl FieldLevel) bool {
15491549 params := parseOneOfParam2(fl.Param())