carta
protoc-gen-gogo(1)

protoc-gen-gogo1

Go compiler output filter for the protocol buffer compiler

Overview

protoc-gen-gogo is a filter for the protoc(1) protocol buffer compiler. It takes the protocol buffer format from protoc(1) as input and produces Go code as output which can then be used to encode (marshal) and decode (unmarshal) data in the protocol buffer format specified in its input. The input is typically produced by protoc(1) by taking a .proto input file and converting it to a protocol buffer descriptor format which protoc-gen-gogo can then read. If protoc-gen-gogo can be found in the regular search path, the --plugin flag can be omitted.

Options

protoc-gen-gogo itself doesn't like options. All input is taken from stdin. If you use the protobuf compiler to invoke protoc-gen-gogo, see protoc(1) for a detailed list of all options.

Author

protoc-gen-gogo was mostly written by Rob Pike and David Symonds for The Go Authors.

Reporting bugs

Please file any bug in the bug tracker at https://code.google.com/p/goprotobuf/issues/list

From gogoprotobuf 1.3.2-3+b14 in Debian 13 (Trixie). Parsed by carta from the page's man source.