Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Validate ¶ added in v1.3.8
type Validate struct {
ValidatorValidate *validator.Validate
}
func (*Validate) Validate ¶ added in v1.3.8
func (validate *Validate) Validate(i interface{}) ValidatorErrors
type ValidatorError ¶
type ValidatorError struct {
validator.FieldError
}
func (ValidatorError) Error ¶
func (validationErr ValidatorError) Error() string
type ValidatorErrors ¶
type ValidatorErrors []ValidatorError
func (ValidatorErrors) Errors ¶
func (validationErrors ValidatorErrors) Errors() []string
Click to show internal directories.
Click to hide internal directories.