// The field under validation must not be present or is empty only if all the other specified fields are equal to the value following with the specified field.
funcexcludedIf(flFieldLevel)bool{
params:=parseOneOfParam2(fl.Param())
iflen(params)%2!=0{
panic(fmt.Sprintf("Bad param number for excluded_if %s",fl.FieldName()))
// The field under validation must be present and not empty only unless all the other specified fields are equal to the value following with the specified field.
// The field under validation must be present and not empty only unless all the other specified fields are equal to the value following with the specified field.
// The field under validation must not be present or is empty unless all the other specified fields are equal to the value following with the specified field.
funcexcludedUnless(flFieldLevel)bool{
params:=parseOneOfParam2(fl.Param())
iflen(params)%2!=0{
panic(fmt.Sprintf("Bad param number for excluded_unless %s",fl.FieldName()))