{"id":49866,"library":"gogo-protobuf","title":"gogo/protobuf","description":"Package gogo/protobuf is a fork of the Go protobuf library with additional features and optimizations.","status":"active","version":"1.3.2","language":"go","source_language":null,"source_url":"https://github.com/gogo/protobuf","tags":["protobuf","serialization","gogo"],"install":[{"cmd":"go get github.com/gogo/protobuf","lang":"bash","label":"Install github.com/gogo/protobuf"}],"dependencies":[],"imports":[{"symbol":"proto","correct":"github.com/gogo/protobuf/proto"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/gogo/protobuf/proto\"\n)\n\nfunc main() {\n\t// Example assumes a generated message type\n\tfmt.Println(proto.Size(&MyMessage{}))\n}","lang":"go","description":"Use gogo/protobuf to compute the size of a protobuf message."},"warnings":[{"fix":"Choose one protobuf library and stick with it; prefer google.golang.org/protobuf for new projects.","message":"gogo/protobuf is not compatible with the official google.golang.org/protobuf v2 API; mixing them causes issues.","severity":"breaking","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'addit':13 'featur':14 'fork':6 'go':9 'gogo':19 'gogo/protobuf':1,3 'librari':11 'optim':16 'packag':2 'protobuf':10,17 'serial':18","created_at":"2026-06-14T18:18:31.464059+00:00","updated_at":"2026-06-14T18:18:31.464059+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/gogo/protobuf","github":"https://github.com/gogo/protobuf","docs":"https://pkg.go.dev/github.com/gogo/protobuf#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["serialization"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-14","next_check":"2026-12-11","install_tag":null}}