Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TemplatesFS embed.FS
TemplatesFS contains embedded project scaffolding templates
Functions ¶
func CreateProject ¶
func CreateProject(projectPath string, data ProjectData) error
CreateProject scaffolds a new Forge project at the given path
func GetGoVersion ¶
func GetGoVersion() string
GetGoVersion returns the current Go version (e.g., "1.23")
func InferModule ¶
InferModule returns the project name as the Go module path. A bare project name (e.g., "myapp") is a valid Go module path and is the correct default for a new project. Users can update go.mod manually if they want a full github.com/user/project path after creating their repository.
Types ¶
Click to show internal directories.
Click to hide internal directories.