mwitkow/go-proto-validators
Generate message validators from .proto annotations. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3811
- days_rel: n/a
- days_push: 1043
- n_releases_24m: 0
Adoption not part of the score
1101 stars · 163 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A protoc plugin that generates Validate() error methods on Go protobuf structs from field validation options declared in .proto files. Validation logic is code-generated, avoiding reflection overhead on deeply nested messages.
Use cases
- validate protobuf messages in Go
- generate validation code from proto files
- enforce field constraints in protobuf schemas
- replace manual if-nil checks for proto3 messages
- add regex and range validation to gRPC request messages
When to avoid
- you need actively maintained protobuf validation (consider protovalidate/PGV)
- you don't use Go or protobuf
- you need runtime-configurable validation rules
Facets
library · maturity maintenance
serialization parser developer-tools developer-tools apis backend go cli protobuf protoc-plugin code-generation validation grpc
1 source
- readme: https://github.com/mwitkow/go-proto-validators · fetched 2026-08-28 · c6334d61af9d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mwitkow/go-proto-validators | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="mwitkow/go-proto-validators")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem