Documentation
¶
Index ¶
- type Generator
- func (g *Generator) CodeFormatter(path string) (st generator.SymbolTable, err error)
- func (g *Generator) CommandPath() string
- func (g *Generator) FileExtension() string
- func (g *Generator) GenerateProject(name, path string) (err error)
- func (g *Generator) GetTemplate(name string) string
- func (g *Generator) InternalPath() string
- func (g *Generator) PackagePath() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct { }
Generator generates go code + infrastructure specification from a saas-y Spec.
func (*Generator) CodeFormatter ¶
func (g *Generator) CodeFormatter(path string) (st generator.SymbolTable, err error)
CodeFormatter returns the code formatter for go code.
func (*Generator) CommandPath ¶
CommandPath returns the command path for go code.
func (*Generator) FileExtension ¶
FileExtension returns the file extension for go code.
func (*Generator) GenerateProject ¶
GenerateProject creates project-specific files.
func (*Generator) GetTemplate ¶
GetTemplate returns the named template for go code.
func (*Generator) InternalPath ¶
InternalPath returns the package path for go code.
func (*Generator) PackagePath ¶
PackagePath returns the package path for go code.
Click to show internal directories.
Click to hide internal directories.