mirror of
https://github.com/Fishwaldo/validator.git
synced 2025-03-16 04:01:32 +00:00
Fix excludedWithoutAll comment (#673)
Function comment mistakenly referred to a different function
This commit is contained in:
parent
9c415c4565
commit
514c9dbd77
1 changed files with 1 additions and 1 deletions
|
@ -1544,7 +1544,7 @@ func requiredWithout(fl FieldLevel) bool {
|
|||
return true
|
||||
}
|
||||
|
||||
// RequiredWithoutAll is the validation function
|
||||
// ExcludedWithoutAll is the validation function
|
||||
// The field under validation must not be present or is empty when all of the other specified fields are not present.
|
||||
func excludedWithoutAll(fl FieldLevel) bool {
|
||||
params := parseOneOfParam2(fl.Param())
|
||||
|
|
Loading…
Add table
Reference in a new issue