Protobuf Tools
Prerequisites
# buf: proto tool https://buf.build/docs/tour-1
brew tap bufbuild/buf
brew install buf
# or use `go get` to install Buf
GO111MODULE=on go get github.com/bufbuild/buf/cmd/bufDeveloper Workflow
Info
# To list all files Buf is configured to use:
buf ls-files
# To see your currently configured lint or breaking checkers:
buf check ls-lint-checkers
buf check ls-breaking-checkers
# To see all available lint checkers independent of configuration/defaults:
buf check ls-lint-checkers --allBuild
Lint
Format
Generate
Tools
grpcurl
ghz
Reference
Last updated