Fix excludedWithoutAll comment (#673)
Function comment mistakenly referred to a different function
João Francisco authored 3 years ago
GitHub committed 3 years ago
1543 | 1543 | return true |
1544 | 1544 | } |
1545 | 1545 | |
1546 | // RequiredWithoutAll is the validation function | |
1546 | // ExcludedWithoutAll is the validation function | |
1547 | 1547 | // The field under validation must not be present or is empty when all of the other specified fields are not present. |
1548 | 1548 | func excludedWithoutAll(fl FieldLevel) bool { |
1549 | 1549 | params := parseOneOfParam2(fl.Param()) |