(v *Int64PtrValidation)
| 169 | } |
| 170 | |
| 171 | func ValidateInt64PtrMissing(v *Int64PtrValidation) (*int64, error) { |
| 172 | if v.Required { |
| 173 | return nil, ErrorMustBeDefined(v.AllowedValues) |
| 174 | } |
| 175 | return validateInt64Ptr(v.Default, v) |
| 176 | } |
| 177 | |
| 178 | func ValidateInt64PtrProvided(val *int64, v *Int64PtrValidation) (*int64, error) { |
| 179 | if v.CantBeSpecifiedErrStr != nil { |
no test coverage detected