templates

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateFromTemplate

func GenerateFromTemplate(templateName, targetDir string) error

GenerateFromTemplate creates a complete project from the specified template

Types

type Template

type Template struct {
	Name  string
	Files []TemplateFile
}

Template represents a complete project template

type TemplateFile

type TemplateFile struct {
	Path    string // Relative path from project root
	Content string // File content with {{PROJECT_NAME}} placeholder
}

TemplateFile represents a single file in a template

Jump to

Keyboard shortcuts

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