Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrWrapper ¶
Types ¶
type OptionFunc ¶ added in v0.0.46
type OptionFunc func(*validator)
func WithValidatorType ¶
func WithValidatorType(validatorType ValidatorType) OptionFunc
type Validator ¶
func NewValidator ¶
func NewValidator(opts ...OptionFunc) (Validator, error)
type ValidatorType ¶
type ValidatorType int
const (
Json ValidatorType
)
func (ValidatorType) String ¶
func (i ValidatorType) String() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.