#1 validate
⚔ Go package for data validation and filtering. support Map, Struct, Form data. Go通用的数据验证与过滤库,使用简单,内置大部分常用验证、过滤器,支持自定义验证器、自定义消息、字段翻译。
Package govalidator is package of validators and sanitizers for strings, structs and collections.
Health score 57/100, confidence 80/100.
| Latest version | v0.0.0-20230301143203-a9d515a09cc2 |
| Imported by | 4.7K packages |
| Stars | 0 |
| Forks | 0 |
| Last activity | 3 years ago |
| Latest release | Unknown |
| License | Unknown |
| Known vuln records | 0 |
| Symbol | Kind | Synopsis |
|---|---|---|
| ConditionIterator | Type | type ConditionIterator func(interface{}, int) bool |
| CustomTypeValidator | Type | type CustomTypeValidator func(i interface{}, o interface{}) bool |
| Error | Type | type Error struct{ ... } |
| Error.CustomErrorMessageExists | Field | CustomErrorMessageExists bool |
| Error.Err | Field | Err error |
| Error.Error | Method | func (e Error) Error() string |
| Error.Name | Field | Name string |
| Error.Path | Field | Path []string |
| Error.Validator | Field | Validator string |
| Errors | Type | type Errors []error |
| Errors.Error | Method | func (es Errors) Error() string |
| Errors.Errors | Method | func (es Errors) Errors() []error |
⚔ Go package for data validation and filtering. support Map, Struct, Form data. Go通用的数据验证与过滤库,使用简单,内置大部分常用验证、过滤器,支持自定义验证器、自定义消息、字段翻译。
Package validator implements value validations for structs and individual fields based on tags.
Package validation provides configurable and extensible rules for validating data of various types.
Package validation provides methods for validating parameter value using reflection.
⚔ Go package for data validation and filtering. support Map, Struct, Form data. Go通用的数据验证与过滤库,使用简单,内置大部分常用验证、过滤器,支持自定义验证器、自定义消息、字段翻译。
Package validator implements value validations for structs and individual fields based on tags.
Package validation provides configurable and extensible rules for validating data of various types.
Package validation provides methods for validating parameter value using reflection.