generator

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package generator exposes a stable public API for external Go applications.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateProjectName

func ValidateProjectName(name string) error

ValidateProjectName checks project naming rules.

Types

type Options

type Options struct {
	ProjectName     string
	ModulePath      string
	HTTPPort        int
	DatabaseName    string
	TargetDir       string
	Author          string
	DryRun          bool
	SkipPostprocess bool
}

Options configures project generation.

type PlanEntry

type PlanEntry = engine.PlanEntry

PlanEntry describes a planned filesystem operation.

func Generate

func Generate(opts Options) ([]PlanEntry, error)

Generate scaffolds a ForgeKit backend project.

Jump to

Keyboard shortcuts

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