README ¶ 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 Expand ▾ Collapse ▴ Directories ¶ Show internal Expand all Path Synopsis cmd protoc-gen-govalidate examples govalidate validator Click to show internal directories. Click to hide internal directories.