logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

protoc-gen-gogo - Go compiler output filter for the protocol buffer compiler

Author

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

Description

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.

Name

       protoc-gen-gogo - Go compiler output filter for the protocol buffer compiler

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.

Reporting Bugs

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

See Also

protoc(1).

Synopsis

protoc--plugin=protoc-gen-gogo=/usr/bin/protoc-gen-gogo--go_out=gocodeinput.protoprotoc--go_out=gocodeinput.proto

See Also