package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Mar 3, 2022
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func RuleCommaArray(rule string, value interface{}, message string, data interface{}) error
RuleCommaArray 整数都好分割数组验证
rule: 规则字符串
value: 待验证的值
message: 验证失败的提示信息
data: 参数表示校验时传递的所有参数,例如校验的是一个map或者struct时,往往在联合校验时有用
Source Files
¶
Click to show internal directories.
Click to hide internal directories.