Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Exists ¶
type Exists struct {
// contains filtered or unexported fields
}
Exists 验证一个值在某个表中的字段中存在,支持同时判断多个字段 用法:exists:表名称,字段名称,字段名称 例子:exists:users,phone,email
type NotExists ¶
type NotExists struct {
// contains filtered or unexported fields
}
NotExists 验证一个值在某个表中的字段中不存在,支持同时判断多个字段 用法:not_exists:表名称,字段名称,字段名称 例子:not_exists:users,phone,email
func NewNotExists ¶
type Password ¶
type Password struct{}
Password 密码复杂度校验
func NewPassword ¶
func NewPassword() *Password
type UnixPath ¶ added in v3.2.6
type UnixPath struct {
// contains filtered or unexported fields
}
UnixPath 校验 Unix 绝对路径
func NewUnixPath ¶ added in v3.2.6
func NewUnixPath() *UnixPath
Click to show internal directories.
Click to hide internal directories.