Documentation
¶
Overview ¶
Command protogen renders generated Go sources from a compiled protocol descriptor set using the pinned protoc-gen-go plugins. It is a repository tool, never shipped or required by the installed runtime.
It takes the place of a local protoc installation. The descriptor set holds the compiled protocol definition; this command hands that definition to each plugin in the same code generator request protoc would have sent, including the protocol compiler version recorded in the generated file headers. The result is byte-for-byte what the pinned protoc and plugins produce, so the committed sources can be compared against a fresh generation without installing a protocol compiler.
Click to show internal directories.
Click to hide internal directories.