Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GlobalRules ¶
Types ¶
type Exists ¶
Exists 验证一个值在某个表中的字段中存在,支持同时判断多个字段 Exists verify a value exists in a table field, support judging multiple fields at the same time 用法:exists:表名称,字段名称,字段名称,字段名称 Usage: exists:table_name,field_name,field_name,field_name 例子:exists:users,phone,email Example: exists:users,phone,email
type NotExists ¶
NotExists 验证一个值在某个表中的字段中不存在,支持同时判断多个字段 NotExists verify a value does not exist in a table field, support judging multiple fields at the same time 用法:notExists:表名称,字段名称,字段名称,字段名称 Usage: notExists:table_name,field_name,field_name,field_name 例子:notExists:users,phone,email Example: notExists:users,phone,email
func NewNotExists ¶
Click to show internal directories.
Click to hide internal directories.