gookit/validate: ⚔ Go package for data validation and filtering. support Map, Struct, Form data. Go通用的数据验证与过滤库,使用简单,内置大部分常用验证、过滤器,支持自定义验证器、自定义消息、字段翻译。

855
STARS
18
WATCHERS
100
FORKS
13
ISSUES

validate Recent Issues

Issue Title State Comments Created Date Updated Date
[Question] 是否有计划支持 protobuf 文件定义验证信息,生成代码? open 2 2023-02-12 2023-03-08
v1.4.6 change has broken existing behaviour open 0 2023-01-06 2023-02-06
Does not work for embedded struct pointers closed 4 2022-12-15 2023-02-17
Second ValidateE does not work after using v.Reset() closed 2 2022-12-02 2023-01-01
Improve error messages: add original value that caused an error open 0 2022-11-29 2023-03-05
Field name incorrectly extracted for comma-separated JSON struct tags closed 0 2022-11-21 2022-12-22
Return failed field if StopOnError open 3 2022-11-14 2022-12-07
Nested struct with private field open 3 2022-11-02 2022-12-07
Feature request: Allow filter rules on slice elements closed 1 2022-09-30 2022-12-07
Feature request: Override validation rule within a scene closed 2 2022-08-26 2022-12-07
Allow single message that matches all validation rules closed 7 2022-08-25 2022-12-07
Combine required_if with a validation rule open 0 2022-08-25 2023-02-18
Does required have to be used with min_len? closed 2 2022-08-25 2023-02-16
验证失败时,没有显示struct tag自定义的消息 closed 1 2022-08-24 2023-02-18
使用zh-cn语言包时,required_if 错误信息替换错误 closed 1 2022-07-20 2023-02-05
你好作者,请问能否帮忙查看一下全局添加验证器无效的问题 closed 19 2022-06-23 2023-03-06
Why does requiredIf need at least 2 values? closed 5 2022-06-20 2023-02-06
FullUrl regex needs improvement open 5 2022-06-06 2023-02-24
写的规则min:0.1,但是输入0.09还是通过了校验 closed 2 2022-05-05 2023-02-23
请问可否提供一些 Benchmark 相关的参数呢? closed 3 2022-04-26 2023-01-05
fullUrl issue for URLs with percentage sign closed 0 2022-04-07 2023-03-17
reflect.ValueOf needs to be wrapped with nil check closed 3 2022-03-15 2023-02-26
Validate array/slice items closed 5 2022-03-15 2023-03-08
required int 会将0值当成empty,无法校验通过 closed 5 2022-02-24 2023-01-14
fatal error: concurrent map iteration and map write closed 2 2022-02-17 2023-02-18
Validate Boolean error closed 1 2022-01-26 2023-02-12
Error validating on multi nested struct closed 0 2022-01-24 2023-02-09
希望自定义消息支持指针方法 closed 1 2022-01-09 2022-01-12
我看了一下,我有1个字段required,可以为""空,该怎么设置呢? closed 1 2022-01-02 2022-12-07
设置了AddTranslates,eq_field验证不通过时,提示信息里面的字段名没有使用AddTranslates添加的字段翻译名称 closed 0 2021-11-11 2022-12-07
能不能加一个tag实现类似结构体Translates的功能 closed 7 2021-11-03 2023-03-09
in 枚举,类型默认值也通过了 closed 1 2021-11-01 2022-01-12
Understanding custom filters closed 1 2021-10-19 2023-03-19
Int detected as float closed 2 2021-10-04 2023-02-25
不支持结构体嵌套验证 closed 2 2021-10-01 2022-01-12
validate.Errors output field name closed 1 2021-09-06 2023-02-24
Custom tag implementation closed 1 2021-07-27 2022-12-07
Full Url incorrect open 1 2021-07-14 2022-01-12
Not all errors return when validating data from struct closed 3 2021-05-21 2022-12-07
Float filter closed 2 2021-04-10 2022-01-12
FromRequest 使用疑问? closed 2 2021-03-31 2022-01-21
V2 - refactoring open 0 2021-03-16 2022-01-12
验证 Struct 时,如果请求中有其他struct没有定义的字段,会抛出 schema: invalid path 错误 closed 1 2021-01-13 2023-03-01
required好像不支持指针变量的校验. closed 4 2021-01-12 2023-02-20
required_if 不能指定bool类型字段的值 检测 closed 3 2021-01-08 2022-12-29
[]string 怎么检测 string的长度 closed 2 2021-01-06 2023-02-24
如果struct里面嵌套一个struct就验证不了了,请问有办法吗 closed 4 2020-09-10 2023-02-13
TODO 请问有方法实现结构体的嵌套嘛 closed 3 2020-04-06 2022-01-22
validate: custom type check closed 6 2019-12-18 2023-03-09
validate.Errors希望增加一个trans功能 open 13 2019-05-13 2023-02-24

gookit's Other Repos