Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MzValidator ¶
type MzValidator interface { // New() MzValidator GetErrors() []CustomError Struct(str interface{}) error }
MzValidator MzValidator
type ValidatorAdapter ¶
type ValidatorAdapter struct { ValidationErrors []validator.FieldError // contains filtered or unexported fields }
ValidatorAdapter ValidatorAdapter
func NewValidatorAdapter ¶
func NewValidatorAdapter() *ValidatorAdapter
NewValidatorAdapter NewValidatorAdapter
func (ValidatorAdapter) GetErrors ¶
func (v ValidatorAdapter) GetErrors() []CustomError
GetErrors GetErrors
func (ValidatorAdapter) Struct ¶
func (v ValidatorAdapter) Struct(str interface{}) error
Struct Struct
Click to show internal directories.
Click to hide internal directories.