Documentation ¶
Overview ¶
Package validate provides a central way to validate individual fields and different implementations of config
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
Validator is a custom validator
func NewValidator ¶
NewValidator constructs a custom validator with all custom validators registered.
func (*Validator) RegisterCustom ¶
RegisterCustom registers all custom validators for use.
Click to show internal directories.
Click to hide internal directories.