(v *Int32Validation)
| 160 | } |
| 161 | |
| 162 | func ValidateInt32Missing(v *Int32Validation) (int32, error) { |
| 163 | if v.Required { |
| 164 | return 0, ErrorMustBeDefined(v.AllowedValues) |
| 165 | } |
| 166 | return validateInt32(v.Default, v) |
| 167 | } |
| 168 | |
| 169 | func ValidateInt32Provided(val int32, v *Int32Validation) (int32, error) { |
| 170 | if v.CantBeSpecifiedErrStr != nil { |
no test coverage detected