generator

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateProject

func CreateProject(config ProjectConfig) error

CreateProject generates a new Velocity project from template

func InitProject

func InitProject(config ProjectConfig, targetDir string) error

InitProject adds Velocity structure to an existing Go project

func StartDevServers

func StartDevServers(projectPath string)

StartDevServers starts npm run dev and go run main.go in background

Types

type ProjectConfig

type ProjectConfig struct {
	Name     string
	Module   string
	Database string
	Cache    string
	Auth     bool
	API      bool
}

ProjectConfig holds the configuration for a new project

Jump to

Keyboard shortcuts

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