Registry / serialization / gogo-protobuf

gogo-protobuf

JSON →
library1.3.2gogounverified

Package gogo/protobuf is a fork of the Go protobuf library with additional features and optimizations.

go get github.com/gogo/protobuf
INSTALL
IMPORT
SIG · GOGO-PROTOBUF
G
gogo-protobuf
serializationgov1.3.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

proto
github.com/gogo/protobuf/proto

Use gogo/protobuf to compute the size of a protobuf message.

package main import ( "fmt" "github.com/gogo/protobuf/proto" ) func main() { // Example assumes a generated message type fmt.Println(proto.Size(&MyMessage{})) }
Debug
Known issues
breakinggogo/protobuf is not compatible with the official google.golang.org/protobuf v2 API; mixing them causes issues.
fix
Choose one protobuf library and stick with it; prefer google.golang.org/protobuf for new projects.
affects: >=1.0.0
Upgrade
Version history
1.3.2latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
gogo-protobuf — go get gogo-protobuf · libregistry