Documentation ¶
Index ¶
- Constants
- Variables
- type ValidatorSet
- func (v *ValidatorSet) CityValidator(fl validator.FieldLevel) bool
- func (v *ValidatorSet) DateValidator(fl validator.FieldLevel) bool
- func (v *ValidatorSet) NameValidator(fl validator.FieldLevel) bool
- func (v *ValidatorSet) PhoneValidator(fl validator.FieldLevel) bool
- func (v *ValidatorSet) UserLocaleValidator(fl validator.FieldLevel) bool
- func (v *ValidatorSet) UuidValidator(fl validator.FieldLevel) bool
- func (v *ValidatorSet) ZipUsaValidator(fl validator.FieldLevel) bool
Constants ¶
View Source
const (
Prefix = "internal.validators"
)
Variables ¶
Functions ¶
This section is empty.
Types ¶
type ValidatorSet ¶
func (*ValidatorSet) CityValidator ¶
func (v *ValidatorSet) CityValidator(fl validator.FieldLevel) bool
CityValidator
func (*ValidatorSet) DateValidator ¶ added in v1.2.0
func (v *ValidatorSet) DateValidator(fl validator.FieldLevel) bool
Date validator
func (*ValidatorSet) NameValidator ¶
func (v *ValidatorSet) NameValidator(fl validator.FieldLevel) bool
NameValidator
func (*ValidatorSet) PhoneValidator ¶
func (v *ValidatorSet) PhoneValidator(fl validator.FieldLevel) bool
PhoneValidator
func (*ValidatorSet) UserLocaleValidator ¶
func (v *ValidatorSet) UserLocaleValidator(fl validator.FieldLevel) bool
User locale validator
func (*ValidatorSet) UuidValidator ¶
func (v *ValidatorSet) UuidValidator(fl validator.FieldLevel) bool
UuidValidator
func (*ValidatorSet) ZipUsaValidator ¶
func (v *ValidatorSet) ZipUsaValidator(fl validator.FieldLevel) bool
ZipUsaValidator
Click to show internal directories.
Click to hide internal directories.