ValidateContext wraps the generated validator with (optionally context-based) custom checks.
(context.Context)
| 23 | |
| 24 | // ValidateContext wraps the generated validator with (optionally context-based) custom checks. |
| 25 | func (req *GetUserRequest) ValidateContext(context.Context) error { |
| 26 | return req.ValidateFields() |
| 27 | } |
| 28 | |
| 29 | // ValidateContext wraps the generated validator with (optionally context-based) custom checks. |
| 30 | func (m *UpdateUserRequest) ValidateContext(context.Context) error { |
nothing calls this directly
no test coverage detected