Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GeneratorCtx ¶
type GeneratorCtx struct {
// contains filtered or unexported fields
}
func NewGeneratorCtx ¶
func NewGeneratorCtx() *GeneratorCtx
type MsgGenerator ¶
type MsgGenerator interface { IfaceName() string NewStmt(fieldPathStmt string) string Apply(gCtx *GeneratorCtx) }
func GeneratorForField ¶
func GeneratorForField(g pluginutils.FileGenerator, f *protogen.Field) MsgGenerator
func GeneratorForMessage ¶
func GeneratorForMessage(g pluginutils.FileGenerator, m *protogen.Message) MsgGenerator
Click to show internal directories.
Click to hide internal directories.