/protoc-gen-fieldmask

Generate field mask utilities from proto files

Primary LanguageGoApache License 2.0Apache-2.0

protoc-gen-fieldmask

A protoc plug-in, which generates fieldmask utilities. Compatible with gogoproto extensions.

Installation:

GO111MODULE=on go install .

Usage:

For example, from root of this repository:

protoc -Itestdata -Ivendor --fieldmask_out=lang=gogo:$GOPATH/src testdata/testdata.proto

Note, you will need to run GO111MODULE=on go mod vendor before running the command above.