ValidateContext wraps the generated validator with (optionally context-based) custom checks.
(context.Context)
| 171 | |
| 172 | // ValidateContext wraps the generated validator with (optionally context-based) custom checks. |
| 173 | func (ids *UserIdentifiers) ValidateContext(context.Context) error { |
| 174 | if err := ids.ValidateFields(); err != nil { |
| 175 | return errIdentifiers.WithCause(err) |
| 176 | } |
| 177 | return nil |
| 178 | } |
| 179 | |
| 180 | // ValidateContext wraps the generated validator with (optionally context-based) custom checks. |
| 181 | func (ids *MACSettingsProfileIdentifiers) ValidateContext(context.Context) error { |
no test coverage detected