PreValidate defines a function that runs BEFORE the validation hooks.
(ctx context.Context, app App)
| 41 | type PreValidator interface { |
| 42 | // PreValidate defines a function that runs BEFORE the validation hooks. |
| 43 | PreValidate(ctx context.Context, app App) error |
| 44 | } |
| 45 | |
| 46 | // PostValidator defines an optional model interface for registering a |