Documentation ¶
Index ¶
- Constants
- type GenAssetsConfig
- type GenGoMod
- type GenGraph
- type GenMain
- type GenSQLModelAsset
- type Generator
- func InitGenAssetsConfig(config *configs.Config, profile *configs.Profile, ...) Generator
- func InitGenGoMod(config *configs.Config, profile *configs.Profile) Generator
- func InitGenGraph(config *configs.Config, profile *configs.Profile, ...) Generator
- func InitGenMain(config *configs.Config, profile *configs.Profile) Generator
- func InitGenModelAsset(config *configs.Config, profile *configs.Profile, ...) Generator
Constants ¶
View Source
const GO_ASSETS_CONFIG_FILE_NAME = "configs.go"
View Source
const GO_MOD_FILE_NAME = "go.mod"
View Source
const GRAPH_FILENAME = "graph.wsd"
View Source
const MAIN_FILE_NAME = "main._go"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenAssetsConfig ¶
type GenAssetsConfig struct {
// contains filtered or unexported fields
}
func (*GenAssetsConfig) GetFileName ¶
func (g *GenAssetsConfig) GetFileName() string
GetFileName implements Generator.
func (*GenAssetsConfig) GetFullPath ¶
func (g *GenAssetsConfig) GetFullPath() string
GetFullPath implements Generator.
func (*GenAssetsConfig) RenderToFile ¶
func (g *GenAssetsConfig) RenderToFile() error
type GenGoMod ¶
type GenGoMod struct {
// contains filtered or unexported fields
}
func (*GenGoMod) GetFileName ¶
GetFileName implements Generator.
func (*GenGoMod) GetFullPath ¶
GetFullPath implements Generator.
func (*GenGoMod) RenderToFile ¶
type GenGraph ¶
type GenGraph struct {
// contains filtered or unexported fields
}
func (*GenGraph) GetFileName ¶
GetFileName implements Generator.
func (*GenGraph) GetFullPath ¶
GetFullPath implements Generator.
func (*GenGraph) RenderToFile ¶
type GenMain ¶
type GenMain struct {
// contains filtered or unexported fields
}
func (*GenMain) GetFileName ¶
GetFileName implements Generator.
func (*GenMain) GetFullPath ¶
GetFullPath implements Generator.
func (*GenMain) RenderToFile ¶
type GenSQLModelAsset ¶
type GenSQLModelAsset struct {
// contains filtered or unexported fields
}
func (*GenSQLModelAsset) GetFileName ¶
func (g *GenSQLModelAsset) GetFileName() string
GetFileName implements Generator.
func (*GenSQLModelAsset) GetFullPath ¶
func (g *GenSQLModelAsset) GetFullPath() string
GetFullPath implements Generator.
func (*GenSQLModelAsset) RenderToFile ¶
func (g *GenSQLModelAsset) RenderToFile() error
type Generator ¶
func InitGenAssetsConfig ¶
func InitGenAssetsConfig( config *configs.Config, profile *configs.Profile, modelsConfig []*internalmodels.ModelConfig, priorityGroups [][]string, ) Generator
func InitGenGraph ¶
func InitGenGraph(config *configs.Config, profile *configs.Profile, modelsConfigs []*internalmodels.ModelConfig) Generator
func InitGenModelAsset ¶
func InitGenModelAsset( config *configs.Config, profile *configs.Profile, modelConfig *internalmodels.ModelConfig, ) Generator
Click to show internal directories.
Click to hide internal directories.