Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterProviders ¶
Types ¶
type Translations ¶
type ValidationErrors ¶
type ValidationErrors struct {
// contains filtered or unexported fields
}
func (*ValidationErrors) Add ¶
func (e *ValidationErrors) Add(field, message string)
func (*ValidationErrors) Error ¶
func (e *ValidationErrors) Error() string
func (*ValidationErrors) Errors ¶
func (e *ValidationErrors) Errors() ErrorsMap
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
func NewValidator ¶
func NewValidator() *Validator
func (*Validator) RegisterDefaultTranslations ¶
func (v *Validator) RegisterDefaultTranslations()
func (*Validator) RegisterTranslation ¶
Click to show internal directories.
Click to hide internal directories.