Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ValidateFunc ¶
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
func NewValidator ¶
func NewValidator(c ...ValidatorCheck) Validator
func (Validator) AddChecks ¶
func (v Validator) AddChecks(c ...ValidatorCheck) Validator
type ValidatorCheck ¶
type ValidatorCheck struct {
// contains filtered or unexported fields
}
func NewValidatorCheck ¶
func NewValidatorCheck(name string, f ValidateFunc) ValidatorCheck
Click to show internal directories.
Click to hide internal directories.