(v *InterfaceMapValidation)
| 63 | } |
| 64 | |
| 65 | func ValidateInterfaceMapMissing(v *InterfaceMapValidation) (map[string]interface{}, error) { |
| 66 | if v.Required { |
| 67 | return nil, ErrorMustBeDefined() |
| 68 | } |
| 69 | return validateInterfaceMap(v.Default, v) |
| 70 | } |
| 71 | |
| 72 | func ValidateInterfaceMapProvided(val map[string]interface{}, v *InterfaceMapValidation) (map[string]interface{}, error) { |
| 73 | if v.CantBeSpecifiedErrStr != nil { |
no test coverage detected