Versions in this module Expand all Collapse all v1 v1.2.6 Jul 13, 2022 Changes in this version + const ModuleImport + const ModuleRegister + type Dic struct + func (g *Dic) Generate(template *Template, modulePath string, packagePath string, templatePath string) + type Factory struct + ApiVersion string + Driver string + Generators []Generator + Pluralizer *pluralize.Client + Template *Template + func (f *Factory) Generate(module ModuleTemplate) + type FieldTemplate struct + GolangType string + Index int + IsRequired bool + Name string + NameUnderScore string + ProtobufType string + type Generator interface + Generate func(template *Template, modulePath string, packagePath string, templatePath string) + type Model struct + func (g *Model) Generate(template *Template, modulePath string, packagePath string, templatePath string) + type Module struct + Config []string + func (g *Module) Generate(template *Template, modulePath string, packagePath string, templatePath string) + type ModuleJson struct + Name string + Url string + type ModuleTemplate struct + Fields []*FieldTemplate + Name string + type Proto struct + func (g *Proto) Generate(template *Template, modulePath string, packagePath string, templatePath string) + type Provider struct + func (p *Provider) Generate(template *Template, modulePath string, packagePath string, templatePath string) + type Server struct + func (g *Server) Generate(template *Template, modulePath string, packagePath string, templatePath string) + type Swagger struct + func (g *Swagger) Generate(template *Template, modulePath string, packagePath string, templatePath string) + type Template struct + ApiVersion string + Columns []*FieldTemplate + Module string + ModuleLowercase string + ModulePlural string + ModulePluralLowercase string + PackageName string