Documentation
¶
Index ¶
Constants ¶
View Source
const ( StepProjectName = 0 StepModulePath = 1 StepPreset = 2 StepModules = 3 StepModuleOpts = 4 StepOutputDepth = 5 StepConfirm = 6 TotalSteps = 7 )
Step constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OutputDepth ¶
type OutputDepth int
OutputDepth describes how much boilerplate to generate
const ( DepthMinimal OutputDepth = iota DepthBoilerplate DepthFull )
func (OutputDepth) String ¶
func (d OutputDepth) String() string
type Prefill ¶
type Prefill struct {
ProjectName string // --name / -n
ModulePath string // --module / -m
PresetName string // --preset / -p (alias: api, worker, fullstack, minimal)
Depth string // --depth / -d (alias: minimal, boilerplate, full)
}
Prefill holds values passed via CLI flags that skip wizard steps.
Click to show internal directories.
Click to hide internal directories.