Documentation
¶
Index ¶
- func GetErrors(err error) validator.ValidationErrors
- func StringInSlice(str string, target []string) bool
- func ValidateConfig(cfg interface{}) error
- func ValidateRequest(req interface{}) error
- func ValidationError(fe validator.FieldError) error
- func ValidationErrors(fes []validator.FieldError) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StringInSlice ¶
func ValidateConfig ¶ added in v1.3.0
func ValidateConfig(cfg interface{}) error
func ValidateRequest ¶
func ValidateRequest(req interface{}) error
func ValidationError ¶
func ValidationError(fe validator.FieldError) error
func ValidationErrors ¶ added in v1.6.7
func ValidationErrors(fes []validator.FieldError) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.