-
- move binary at under the
/bin
to PATH
- move binary at under the
-
Go plugins
$ go install google.golang.org/protobuf/cmd/protoc-gen-go@latest $ go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
$ export PATH="$PATH:$(go env GOPATH)/bin"
-
Document plugins
$ go install github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc@latest
buf lint
or
buf lint --error-format=json
buf build
buf generate todoapis
protoc --doc_out=html,index.html:./docs todo/todo//*.proto