Skip to content

Commit 514c9db

Browse files
authored
Fix excludedWithoutAll comment (#673)
Function comment mistakenly referred to a different function
1 parent 9c415c4 commit 514c9db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

baked_in.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1544,7 +1544,7 @@ func requiredWithout(fl FieldLevel) bool {
15441544
return true
15451545
}
15461546

1547-
// RequiredWithoutAll is the validation function
1547+
// ExcludedWithoutAll is the validation function
15481548
// The field under validation must not be present or is empty when all of the other specified fields are not present.
15491549
func excludedWithoutAll(fl FieldLevel) bool {
15501550
params := parseOneOfParam2(fl.Param())

0 commit comments

Comments
 (0)