Documentation ¶
Index ¶
- Variables
- func Generate(dir string, scriptInfo expr.ScriptInfo, update bool, addServer bool) (outputs []string, err1 error)
- func Script(rootPkg string, rootDir string, scriptInfo expr.ScriptInfo) ([]*codegen.File, error)
- func Server(rootPkg string, rootDir string, scriptInfo expr.ScriptInfo) ([]*codegen.File, error)
- func Store(rootPkg string, rootDir string, scriptInfo expr.ScriptInfo) ([]*codegen.File, error)
- type Genfunc
Constants ¶
This section is empty.
Variables ¶
View Source
var Generators = generators
Generators returns the qualified paths (including the package name) to the code generator functions for the given command, an error if the command is not supported. Generators is a public variable so that external code (e.g. plugins) may override the default generators.
Functions ¶
func Generate ¶
func Generate(dir string, scriptInfo expr.ScriptInfo, update bool, addServer bool) (outputs []string, err1 error)
Generate runs the code generation algorithms.
Types ¶
Click to show internal directories.
Click to hide internal directories.