Protocol Buffers for Go with Gadgets for Cosmos
Browse cluster: Cosmos blockchain and smart contract languages →Gogoproto is Cosmos's fork of the gogo/protobuf library that generates fast Protocol Buffer marshalling and unmarshalling code for Go. The project addresses performance optimization in serialization by offering multiple code generation binaries—protoc-gen-gofast, protoc-gen-gogofast, protoc-gen-gogofaster, and protoc-gen-gogoslick—each providing increasing levels of speed and customization, along with optional helper methods, tests, and benchmark code generation. Built in Go and designed to work with the protoc Protocol Buffer compiler, it maintains compatibility with the standard goprotobuf library while adding extensions for more canonical Go structures and alternative serialization formats.