Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNonStructPayload = errors.New("validation payload is not a struct")
Functions ¶
This section is empty.
Types ¶
type ErrUnsupportedValidationTag ¶
type ErrUnsupportedValidationTag struct {
Tag string
}
func (ErrUnsupportedValidationTag) Error ¶
func (e ErrUnsupportedValidationTag) Error() string
type Error ¶
type Option ¶
type Option func(*Validator)
func ErrorFieldFromJSONTag ¶
func ErrorFieldFromJSONTag() Option
Click to show internal directories.
Click to hide internal directories.