Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct {
Errors []string `json:"validation_errors"`
}
Error represents validation error.
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
Validator represents custom validator that validates structs based on tags.
func NewValidator ¶
NewValidator returns instance of validator.
Click to show internal directories.
Click to hide internal directories.