protogen

command
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL