Skip to content

protoc plugin to generate polyglot message validators . it uses [go-playground](https://github.com/go-playground/validator) to generate validators for go.

License

Notifications You must be signed in to change notification settings

aesoper101/protoc-gen-govalidate

Repository files navigation

protoc-gen-govalidate

protoc plugin to generate polyglot message validators . it uses go-playground to generate validators for go.

Installation

go install github.com/aesoper101/protoc-gen-govalidate/cmd/protoc-gen-govalidate@latest

Usage

protoc -I . -I path/to/validate/  --go_out=paths=source_relative:. --govalidate_out=paths=source_relative:. example/*.proto

Dependencies

Contributing

About

protoc plugin to generate polyglot message validators . it uses [go-playground](https://github.com/go-playground/validator) to generate validators for go.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages