Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Options( fx.Provide(NewCustomValidator), fx.Provide(NewValidator), )
Functions ¶
This section is empty.
Types ¶
type ValidationHandler ¶
func NewCustomValidator ¶
func NewCustomValidator() (configs []ValidationHandler)
type Validator ¶
type Validator struct { Validator *validator.Validate ValidatorHandlerMap map[string]ValidationHandler }
func NewValidator ¶
func NewValidator(customValidators []ValidationHandler) *Validator
Click to show internal directories.
Click to hide internal directories.