Documentation
¶
Index ¶
Constants ¶
View Source
const InByFuncValidatorTag = "in_by_func"
View Source
const LocationValidatorTag = "location"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InByFuncRegister ¶
type InByFuncRegister struct { }
func (InByFuncRegister) GetTag ¶
func (i InByFuncRegister) GetTag() string
func (InByFuncRegister) TransRegister ¶
func (i InByFuncRegister) TransRegister(v *validator.Validate, t *ut.Translator) error
func (InByFuncRegister) ValidatorRegister ¶
func (i InByFuncRegister) ValidatorRegister(v *validator.Validate) error
type InValidatorRegister ¶
type InValidatorRegister struct { }
custom_validate
func (InValidatorRegister) GetTag ¶
func (i InValidatorRegister) GetTag() string
func (InValidatorRegister) TransRegister ¶
func (i InValidatorRegister) TransRegister(v *validator.Validate, t *ut.Translator) error
func (InValidatorRegister) ValidatorRegister ¶
func (i InValidatorRegister) ValidatorRegister(v *validator.Validate) error
type LocationRegister ¶
type LocationRegister struct { }
func (LocationRegister) GetTag ¶
func (l LocationRegister) GetTag() string
func (LocationRegister) TransRegister ¶
func (l LocationRegister) TransRegister(v *validator.Validate, t *ut.Translator) error
func (LocationRegister) ValidatorRegister ¶
func (l LocationRegister) ValidatorRegister(v *validator.Validate) error
Click to show internal directories.
Click to hide internal directories.