macOS
brew install protoc-gen-golocal Homebrew formula metadata
brew / Rang 1367
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für protoc-gen-go in AI-Agent-Workflows.
Installation
brew install protoc-gen-golocal Homebrew formula metadata
sudo apk add protoc-gen-goAlpine Linux edge package indexes · protoc-gen-go · Quelle: dl-cdn.alpinelinux.org
sudo apt install protoc-gen-goDebian stable package indexes · protoc-gen-go · Quelle: deb.debian.org
nix profile install nixpkgs#protoc-gen-gonixpkgs package indexes · pkgs/by-name/pr/protoc-gen-go/package.nix · Quelle: api.github.com
sudo zypper install protoc-gen-goopenSUSE Tumbleweed package metadata · protoc-gen-go · Quelle: download.opensuse.org
sudo dnf install golang-google-protobufFedora Rawhide package metadata · golang-google-protobuf · Quelle: dl.fedoraproject.org
Überblick
Go support for Google's protocol buffers
Verlauf
protoc-gen-go is the official Protocol Buffers compiler plugin for generating Go message types and supporting code from .proto schemas. It belongs to the google.golang.org/protobuf implementation and is distinct from the gRPC-specific Go generator.
Go's first Protocol Buffer bindings were announced in March 2010 and included both a protoc code-generation plugin and a Go runtime package.
On 2 March 2020, the Go team released google.golang.org/protobuf as APIv2, a major overhaul adding first-class protobuf reflection, dynamic messages, improved testing support, and a cleaned-up API surface. protoc-gen-go is the compiler plugin within that module.
On 16 December 2024, the Go team announced the Opaque generated-code API. The established Open Struct API remained supported, allowing users to migrate without an abrupt removal of existing generated-code behavior.
The Go protobuf bindings grew alongside Go from their initial pre-Go-1 form into a widely used serialization foundation. The 2020 APIv2 module allowed gradual adoption by making the older APIv1 module interoperate with the new implementation.
The generator is packaged across Homebrew and multiple Linux-oriented package managers in source_facts.package-manager, while upstream recommends installation with go install. It is routinely used by Go projects that exchange protobuf messages or combine message generation with gRPC service generation.
Install the plugin with go install, ensure it is on PATH, and invoke protoc with --go_out plus any --go_opt values. Each generated Go package needs an import path, usually supplied through the .proto file's go_package option; output placement can be import-path-based or source-relative. The tool uses command-line options and schema declarations rather than a documented persistent config or credentials file.
protoc-gen-go sits at the boundary between a language-neutral schema compiler and Go's module ecosystem. Generator version, runtime-library version, import-path mapping, and generated-code API selection can materially affect reproducibility and compatibility.
The 2020 APIv2 migration and the later Opaque API illustrate how a mature code generator can evolve representation and reflection behavior while retaining compatibility paths for existing generated code.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
protoc-gen-go | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/protocolbuffers/protobuf-go
Installationsmetadaten
| Paketschlüssel | brew:protoc-gen-go |
|---|---|
| Version | 1.36.12 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/protoc-gen-go |
| Homepage | https://github.com/protocolbuffers/protobuf-go |
| Repository | https://github.com/protocolbuffers/protobuf-go |
| Lizenz | BSD-3-Clause |
| Quellarchiv | https://github.com/protocolbuffers/protobuf-go/archive/refs/tags/v1.36.12.tar.gz |
| Zuletzt aktualisiert | 2026-09-13T09:40:44+02:00 |
| Pulse | updated |
| Abhängigkeiten | protobuf |
| Build-Abhängigkeiten | go |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | protoc-gen-go |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
protoc-gen-go 1.36.5-1
Go plugin for protobuf compiler (APIv2)
https://github.com/protocolbuffers/protobuf-go
sudo apt install protoc-gen-goprotoc-gen-go
nix profile install nixpkgs#protoc-gen-goprotoc-gen-go 1.32.0-1
Go plugin for protobuf compiler (APIv2)
https://github.com/protocolbuffers/protobuf-go
sudo apt install protoc-gen-goprotoc-gen-go 1.36.11-r6
Protocol Buffers Go generator
https://github.com/protocolbuffers/protobuf-go
sudo apk add protoc-gen-gogolang-google-protobuf 1.31.0-16.fc45
Go support for Google's protocol buffers
https://github.com/protocolbuffers/protobuf-go
sudo dnf install golang-google-protobufprotoc-gen-go 1.34.2-1.9
Go support for Google's protocol buffers
https://github.com/golang/protobuf
sudo zypper install protoc-gen-goQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.