Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶ added in v1.1.0
type Generator struct { Options W *protogen.GeneratedFile // The file to write to F *protogen.File // The proto file descr }
func (*Generator) ApplyTemplate ¶ added in v1.1.0
This function is called with a param which contains the entire definition of a method.
type Options ¶
type Options struct { MarshalOptions protojson.MarshalOptions UnmarshalOptions protojson.UnmarshalOptions }
Options are the options to set for rendering the template.
Click to show internal directories.
Click to hide internal directories.