This guide covers the usage of standard tools for Protocol Buffer compilation and management.
From protobuf-toolsnpx claudepluginhub utakatakyosui/c2lab --plugin protobuf-toolsprotobuf-tools/guides/This guide covers the usage of standard tools for Protocol Buffer compilation and management.
.proto ファイルから各言語のコードを生成します。
基本コマンド:
protoc --proto_path=src --go_out=build/gen src/foo.proto src/bar/baz.proto
現代的な Protobuf ツールチェーン。protoc の代替として推奨されます。
Linting, Breaking Change Detection, Formatting などの機能があります。
Lint:
buf lint
Generate:
buf generate