#1 Validator
Package validator implements value validations for structs and individual fields based on tags.
Compare go validation libraries by maintenance, adoption, security, release activity, and Go ecosystem usage. Top packages in this group include Validator, govalidator, validate.
Highest combined package health score.
Strongest maintenance signal in this category.
Highest adoption signal from stars, forks, and imported-by data.
Package validator implements value validations for structs and individual fields based on tags.
[Go] Package of validators and sanitizers for strings, numerics, slices and structs
⚔ Go package for data validation and filtering. support Map, Struct, Form data. Go通用的数据验证与过滤库,使用简单,内置大部分常用验证、过滤器,支持自定义验证器、自定义消息、字段翻译。
Validate Golang request data with simple rules. Highly inspired by Laravel's request validation.
Package validation provides configurable and extensible rules for validating data of various types.
Package validation provides methods for validating parameter value using reflection.
Generate message validators from .proto annotations.
| Package | Health | Maintenance | Adoption | Security | Imported by |
|---|---|---|---|---|---|
| Validator | 88 | 95 | 98 | 70 | 0 |
| govalidator | 83 | 83 | 93 | 70 | 0 |
| validate | 81 | 95 | 76 | 70 | 0 |
| govalidator | 71 | 20 | 100 | 92 | 248 |
| ozzo-validation | 71 | 20 | 100 | 92 | 1.3K |
| validation | 70 | 12 | 100 | 92 | 77.0K |
| go-proto-validators | 60 | 20 | 69 | 92 | 0 |
| xml-roundtrip-validator | 56 | 48 | 40 | 92 | 220 |
Compare health, maintenance, adoption, security, and release signals.