generators

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2024 License: BSD-2-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const GO_CHANNEL_DECLRATION_FILE_NAME = "channels.go"
View Source
const GO_DWH_INTERFACE_FILE_NAME = "interface.go"
View Source
const GO_MOD_FILE_NAME = "go.mod"
View Source
const MAIN_FILE_NAME = "main.go"

Variables

This section is empty.

Functions

This section is empty.

Types

type GenChannles added in v0.0.3

type GenChannles struct {
	// contains filtered or unexported fields
}

func (*GenChannles) GetFileName added in v0.0.3

func (g *GenChannles) GetFileName() string

GetFileName implements Generator.

func (*GenChannles) GetFullPath added in v0.0.3

func (g *GenChannles) GetFullPath() string

GetFullPath implements Generator.

func (*GenChannles) RenderToFile added in v0.0.3

func (g *GenChannles) RenderToFile() error

type GenDwhInterface

type GenDwhInterface struct {
	// contains filtered or unexported fields
}

func (*GenDwhInterface) GetFileName

func (g *GenDwhInterface) GetFileName() string

GetFileName implements Generator.

func (*GenDwhInterface) GetFullPath

func (g *GenDwhInterface) GetFullPath() string

GetFullPath implements Generator.

func (*GenDwhInterface) RenderToFile

func (g *GenDwhInterface) RenderToFile() error

type GenDwhQuerySet added in v0.0.3

type GenDwhQuerySet struct {
	// contains filtered or unexported fields
}

func (*GenDwhQuerySet) GetFileName added in v0.0.3

func (g *GenDwhQuerySet) GetFileName() string

GetFileName implements Generator.

func (*GenDwhQuerySet) GetFullPath added in v0.0.3

func (g *GenDwhQuerySet) GetFullPath() string

GetFullPath implements Generator.

func (*GenDwhQuerySet) RenderToFile added in v0.0.3

func (g *GenDwhQuerySet) RenderToFile() error

type GenGoMod

type GenGoMod struct {
	// contains filtered or unexported fields
}

func (*GenGoMod) GetFileName

func (g *GenGoMod) GetFileName() string

GetFileName implements Generator.

func (*GenGoMod) GetFullPath

func (g *GenGoMod) GetFullPath() string

GetFullPath implements Generator.

func (*GenGoMod) RenderToFile

func (g *GenGoMod) RenderToFile() error

type GenMain

type GenMain struct {
	// contains filtered or unexported fields
}

func (*GenMain) GetFileName

func (g *GenMain) GetFileName() string

GetFileName implements Generator.

func (*GenMain) GetFullPath

func (g *GenMain) GetFullPath() string

GetFullPath implements Generator.

func (*GenMain) RenderToFile

func (g *GenMain) RenderToFile() error

type Generator

type Generator interface {
	RenderToFile() error
	GetFileName() string
	GetFullPath() string
}

func InitGenChannles added in v0.0.3

func InitGenChannles(
	config *entities.Config,
	profile *entities.Profile,
	deps map[string]utils.UpstreamDependencies,
) Generator

func InitGenDwhInterface

func InitGenDwhInterface(config *entities.Config, profile *entities.Profile) Generator

func InitGenGoMod

func InitGenGoMod(config *entities.Config, profile *entities.Profile) Generator

func InitGenMain

func InitGenMain(config *entities.Config, profile *entities.Profile) Generator

func InitGenQuerySet added in v0.0.3

func InitGenQuerySet(
	config *entities.Config,
	profile *entities.Profile,
	modelConfig *internalmodels.ModelConfig,

) Generator

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL