Directories ¶
Path | Synopsis |
---|---|
Package gogoproto provides extensions for protocol buffers to achieve:
|
Package gogoproto provides extensions for protocol buffers to achieve: |
plugin
|
|
defaultcheck
The defaultcheck plugin is used to check whether nullable is not used incorrectly.
|
The defaultcheck plugin is used to check whether nullable is not used incorrectly. |
description
The description (experimental) plugin generates a Description method for each message.
|
The description (experimental) plugin generates a Description method for each message. |
embedcheck
The embedcheck plugin is used to check whether embed is not used incorrectly.
|
The embedcheck plugin is used to check whether embed is not used incorrectly. |
enumstringer
The enumstringer (experimental) plugin generates a String method for each enum.
|
The enumstringer (experimental) plugin generates a String method for each enum. |
equal
The equal plugin generates an Equal and a VerboseEqual method for each message.
|
The equal plugin generates an Equal and a VerboseEqual method for each message. |
face
The face plugin generates a function will be generated which can convert a structure which satisfies an interface (face) to the specified structure.
|
The face plugin generates a function will be generated which can convert a structure which satisfies an interface (face) to the specified structure. |
gostring
The gostring plugin generates a GoString method for each message.
|
The gostring plugin generates a GoString method for each message. |
marshalto
The marshalto plugin generates a Marshal and MarshalTo method for each message.
|
The marshalto plugin generates a Marshal and MarshalTo method for each message. |
oneofcheck
The oneofcheck plugin is used to check whether oneof is not used incorrectly.
|
The oneofcheck plugin is used to check whether oneof is not used incorrectly. |
populate
The populate plugin generates a NewPopulated function.
|
The populate plugin generates a NewPopulated function. |
size
The size plugin generates a Size or ProtoSize method for each message.
|
The size plugin generates a Size or ProtoSize method for each message. |
stringer
The stringer plugin generates a String method for each message.
|
The stringer plugin generates a String method for each message. |
testgen
The testgen plugin generates Test and Benchmark functions for each message.
|
The testgen plugin generates Test and Benchmark functions for each message. |
union
The onlyone plugin generates code for the onlyone extension.
|
The onlyone plugin generates code for the onlyone extension. |
unmarshal
The unmarshal plugin generates a Unmarshal method for each message.
|
The unmarshal plugin generates a Unmarshal method for each message. |
Package proto converts data structures to and from the wire format of protocol buffers.
|
Package proto converts data structures to and from the wire format of protocol buffers. |
protoc-gen-gogo
|
|
descriptor
Package descriptor provides functions for obtaining protocol buffer descriptors for generated Go types.
|
Package descriptor provides functions for obtaining protocol buffer descriptors for generated Go types. |
generator
The code generator for the plugin for the Google protocol buffer compiler.
|
The code generator for the plugin for the Google protocol buffer compiler. |
grpc
Package grpc outputs gRPC service descriptions in Go code.
|
Package grpc outputs gRPC service descriptions in Go code. |
plugin
Package plugin_go is a generated protocol buffer package.
|
Package plugin_go is a generated protocol buffer package. |
Click to show internal directories.
Click to hide internal directories.