maketemplate

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateInitSuitInGroup added in v1.0.2

func CreateInitSuitInGroup(group_name string)

func CreateTemplateGroupsSetupCall added in v1.0.2

func CreateTemplateGroupsSetupCall(groups_path []string) (arr []string)

func CreateTemplateGroupsSetupImport added in v1.0.2

func CreateTemplateGroupsSetupImport(project_name string, groups_path []string) (arr []string)

func New added in v1.0.2

func New(name string) (arrPath []string, err error)

func NewGroup added in v1.0.2

func NewGroup(name, path string) (createPathRoute string, err error)

func NewModel added in v1.0.2

func NewModel(name string) (createPathModel string, err error)

func NewRoute added in v1.0.2

func NewRoute(name string) (createPathRoute string, err error)

Types

type EnvStruct added in v0.1.2

type EnvStruct struct {
	AppName    string
	AppPort    string
	JwtSecret  string
	DbUsername string
	DbPassword string
	DbDatabase string
	DbPort     string
	DbHost     string
}

type GroupsLoader added in v1.0.2

type GroupsLoader struct {
	ImportRouteGroup string
	SetupGroups      string
}

func (*GroupsLoader) NewGroupLoader added in v1.0.2

func (mr *GroupsLoader) NewGroupLoader() (err error)

type MakeTemplate added in v1.0.2

type MakeTemplate struct {
	Name        string
	PathProject string
	ModelName   string
}

func NewMakeTemplate added in v1.0.2

func NewMakeTemplate(name string) *MakeTemplate

type Migrate

type Migrate struct {
	Name        string
	PathProject string
}

func (*Migrate) Migrate

func (mg *Migrate) Migrate() error

type Template

type Template struct {
	EnvStruct
	GroupsLoader
	ProjectName string
}

func (*Template) InitProject

func (t *Template) InitProject(done chan bool, useDocker bool)

Jump to

Keyboard shortcuts

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