Documentation ¶
Overview ¶
Package primo is a Protocol Buffers plugin that generates Go code with developer-friendly utilities for "one of" types.
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
protoc-gen-go-primo
Package main is a Protocol Buffers plugin that generates Go code with developer-friendly utilities for "one of" types.
|
Package main is a Protocol Buffers plugin that generates Go code with developer-friendly utilities for "one of" types. |
internal
|
|
generator
Package generator generates Go code from Protocol Buffers definitions.
|
Package generator generates Go code from Protocol Buffers definitions. |
generator/accessor
Package accessor generates an accessor method for each field in a message that is a member of a "one-of group".
|
Package accessor generates an accessor method for each field in a message that is a member of a "one-of group". |
generator/builder
Package builder generates a fluent builder type for each message type.
|
Package builder generates a fluent builder type for each message type. |
generator/exhaustiveswitch
Package exhaustiveswitch generates functions that perform an exhaustive switch over finite set types such as "one-of groups" and enumerations.
|
Package exhaustiveswitch generates functions that perform an exhaustive switch over finite set types such as "one-of groups" and enumerations. |
generator/grpcstub
Package grpcstub generates stub implementations of gRPC client interfaces.
|
Package grpcstub generates stub implementations of gRPC client interfaces. |
generator/internal/scope
Package scope provides a set of code-generator-friendly types describing the heirarchy of definitions within a generation request.
|
Package scope provides a set of code-generator-friendly types describing the heirarchy of definitions within a generation request. |
generator/mutator
Package mutator generates a mutator method for each field in a message.
|
Package mutator generates a mutator method for each field in a message. |
Click to show internal directories.
Click to hide internal directories.