#1 validate
⚔ Go package for data validation and filtering. support Map, Struct, Form data. Go通用的数据验证与过滤库,使用简单,内置大部分常用验证、过滤器,支持自定义验证器、自定义消息、字段翻译。
Compare go validation libraries by maintenance, adoption, security, release activity, and Go ecosystem usage. Top packages in this group include validate, Validator, ozzo-validation.
Highest combined package health score.
Strongest maintenance signal in this category.
Highest adoption signal from stars, forks, and imported-by data.
⚔ 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.
Package govalidator is package of validators and sanitizers for strings, structs and collections.
Validate Golang request data with simple rules. Highly inspired by Laravel's request validation.
| Package | Health | Maintenance | Adoption | Security | Imported by |
|---|---|---|---|---|---|
| validate | 93 | 95 | 100 | 92 | 187 |
| Validator | 88 | 95 | 98 | 70 | 0 |
| ozzo-validation | 73 | 27 | 100 | 92 | 1.3K |
| protovalidate | 69 | 83 | 40 | 92 | 230 |
| validation | 69 | 45 | 83 | 92 | 77.0K |
| govalidator | 57 | 15 | 69 | 92 | 4.7K |
| xml-roundtrip-validator | 47 | 15 | 40 | 92 | 220 |
| govalidator | 45 | 48 | 7 | 70 | 0 |
| go-proto-validators | 41 | 48 | 5 | 70 | 0 |
Compare health, maintenance, adoption, security, and release signals.