Documentation
¶
Index ¶
- Constants
- Variables
- type ValidatorClass
- func (validatorInstance *ValidatorClass) ContainAlphabet(val interface{}, target interface{}) bool
- func (validatorInstance *ValidatorClass) ContainNumber(val interface{}, target interface{}) bool
- func (validatorInstance *ValidatorClass) EmptyFun(fl validator.FieldLevel) bool
- func (validatorInstance *ValidatorClass) EndWith(val interface{}, target interface{}) bool
- func (validatorInstance *ValidatorClass) Init() error
- func (validatorInstance *ValidatorClass) IsMobile(val interface{}, target interface{}) bool
- func (validatorInstance *ValidatorClass) NoSqlInject(val interface{}, target interface{}) bool
- func (validatorInstance *ValidatorClass) StartWith(val interface{}, target interface{}) bool
- func (validatorInstance *ValidatorClass) StrGt(val interface{}, target interface{}) bool
- func (validatorInstance *ValidatorClass) StrGte(val interface{}, target interface{}) bool
- func (validatorInstance *ValidatorClass) StrLt(val interface{}, target interface{}) bool
- func (validatorInstance *ValidatorClass) StrLte(val interface{}, target interface{}) bool
- func (validatorInstance *ValidatorClass) Wrap(method func(val interface{}, target interface{}) bool) func(fl validator.FieldLevel) bool
Constants ¶
View Source
const ( SQL_INJECT_CHECK = "sql-inject-check" DISABLE_SQL_INJECT_CHECK = "disable-inject-check" )
Variables ¶
View Source
var Validator = ValidatorClass{}
Functions ¶
This section is empty.
Types ¶
type ValidatorClass ¶
func (*ValidatorClass) ContainAlphabet ¶
func (validatorInstance *ValidatorClass) ContainAlphabet(val interface{}, target interface{}) bool
func (*ValidatorClass) ContainNumber ¶
func (validatorInstance *ValidatorClass) ContainNumber(val interface{}, target interface{}) bool
func (*ValidatorClass) EmptyFun ¶
func (validatorInstance *ValidatorClass) EmptyFun(fl validator.FieldLevel) bool
func (*ValidatorClass) EndWith ¶
func (validatorInstance *ValidatorClass) EndWith(val interface{}, target interface{}) bool
func (*ValidatorClass) Init ¶
func (validatorInstance *ValidatorClass) Init() error
func (*ValidatorClass) IsMobile ¶
func (validatorInstance *ValidatorClass) IsMobile(val interface{}, target interface{}) bool
func (*ValidatorClass) NoSqlInject ¶
func (validatorInstance *ValidatorClass) NoSqlInject(val interface{}, target interface{}) bool
func (*ValidatorClass) StartWith ¶
func (validatorInstance *ValidatorClass) StartWith(val interface{}, target interface{}) bool
func (*ValidatorClass) StrGt ¶
func (validatorInstance *ValidatorClass) StrGt(val interface{}, target interface{}) bool
func (*ValidatorClass) StrGte ¶
func (validatorInstance *ValidatorClass) StrGte(val interface{}, target interface{}) bool
func (*ValidatorClass) StrLt ¶
func (validatorInstance *ValidatorClass) StrLt(val interface{}, target interface{}) bool
func (*ValidatorClass) StrLte ¶
func (validatorInstance *ValidatorClass) StrLte(val interface{}, target interface{}) bool
func (*ValidatorClass) Wrap ¶
func (validatorInstance *ValidatorClass) Wrap(method func(val interface{}, target interface{}) bool) func(fl validator.FieldLevel) bool
Click to show internal directories.
Click to hide internal directories.