Documentation ¶
Index ¶
Constants ¶
View Source
const ModuleImport = "@modules:import"
View Source
const ModuleRegister = "@modules:register"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory struct { ApiVersion string Driver string Pluralizer *pluralize.Client Template *Template Generators []Generator }
func (*Factory) Generate ¶
func (f *Factory) Generate(module ModuleTemplate)
type FieldTemplate ¶
type ModuleJson ¶
type ModuleTemplate ¶
type ModuleTemplate struct { Name string Fields []*FieldTemplate }
Click to show internal directories.
Click to hide internal directories.