Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Generate ¶
func Generate(fn GenerateFn)
Generate is a wrapper for a main function of a protoc generator plugin.
Types ¶
type GenerateFn ¶
type GenerateFn func(req plugin.CodeGeneratorRequest) (*plugin.CodeGeneratorResponse, error)
GenerateFn is a function definition for encapsulating the ore logic of code generation.
Click to show internal directories.
Click to hide internal directories.