Documentation
¶
Overview ¶
Package generator implements the code generator
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FieldOptions ¶
func FieldOptions(f *protogen.Field) *ddbv1.FieldOptions
FieldOptions returns our plugin specific options for a field. If the field has no options it returns nil.
Types ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
Generator generates DynamoDB helper functions
func NewGenerator ¶
NewGenerator inits the generator
type Target ¶
type Target struct {
// contains filtered or unexported fields
}
Target facilitates generation from a single protobuf file
func (*Target) GenerateMessageLogic ¶ added in v0.2.4
GenerateMessageLogic peforms the actual code generation
Click to show internal directories.
Click to hide internal directories.