Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanImports ¶
CleanImports removes extraneous imports and lines from a proto response file Content
Types ¶
type SqlxPlugin ¶
SqlxPlugin implements the plugin interface and creates SqlX code from .protos
func (*SqlxPlugin) Generate ¶
func (p *SqlxPlugin) Generate(file *generator.FileDescriptor)
func (*SqlxPlugin) GenerateImports ¶
func (p *SqlxPlugin) GenerateImports(file *generator.FileDescriptor)
GenerateImports writes out required imports for the generated files
func (*SqlxPlugin) Init ¶
func (p *SqlxPlugin) Init(g *generator.Generator)
Init is called once after data structures are built but before code generation begins.
Click to show internal directories.
Click to hide internal directories.