program

package
v0.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBDriverTemplater

type DBDriverTemplater interface {
	Service() []byte
}

type Driver

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

type Framework

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

type Project

type Project struct {
	ProjectName  string
	Exit         bool
	AbsolutePath string
	ProjectType  flags.Framework
	DBDriver     flags.Database
	FrameworkMap map[flags.Framework]Framework
	DBDriverMap  map[flags.Database]Driver
}

func (*Project) CreateFileAndInjectTemp

func (p *Project) CreateFileAndInjectTemp(pathToCreate string, projectPath string, fileName string, methodName string) error

func (*Project) CreateMainFile

func (p *Project) CreateMainFile() error

func (*Project) CreatePath

func (p *Project) CreatePath(pathToCreate string, projectPath string) error

func (*Project) ExitCLI

func (p *Project) ExitCLI(tprogram *tea.Program)

type Templater

type Templater interface {
	Main() []byte
	MainNoDB() []byte
	Api() []byte
	NoDBApi() []byte
	Handlers() []byte
	Middleware() []byte
	Migrations() []byte
	Routes() []byte
	Queries() []byte
	Tests() []byte
	Models() []byte
	Utils() []byte
}

Jump to

Keyboard shortcuts

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