Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGenerator ¶
func NewGenerator[T string | []string](pluginPath T, opts GeneratorOptions) *extGenerator
Types ¶
type GeneratorOptions ¶
type GeneratorOptions struct {
Opt string
CodeGeneratorRequestHook func(*pluginpb.CodeGeneratorRequest)
CodeGeneratorResponseHook func(*pluginpb.CodeGeneratorResponse)
}
Click to show internal directories.
Click to hide internal directories.