Directories ¶
Path | Synopsis |
---|---|
conformance implements the conformance test subprocess protocol as documented in conformance.proto.
|
conformance implements the conformance test subprocess protocol as documented in conformance.proto. |
Package jsonpb provides marshaling and unmarshaling between protocol buffers and JSON.
|
Package jsonpb provides marshaling and unmarshaling between protocol buffers and JSON. |
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. |
generator/internal/remap
Package remap handles tracking the locations of Go tokens in a source text across a rewrite by the Go formatter.
|
Package remap handles tracking the locations of Go tokens in a source text across a rewrite by the Go formatter. |
grpc
Package grpc outputs gRPC service descriptions in Go code.
|
Package grpc outputs gRPC service descriptions in Go code. |
custom
Package custom contains custom types for test and example purposes.
|
Package custom contains custom types for test and example purposes. |
custom-dash-type
Package custom contains custom types for test and example purposes.
|
Package custom contains custom types for test and example purposes. |
Package types contains code for interacting with well-known types.
|
Package types contains code for interacting with well-known types. |
Click to show internal directories.
Click to hide internal directories.