generator

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TemplateGenerator

type TemplateGenerator struct {
	Config    *config.ProjectConfig
	OutputDir string
	// contains filtered or unexported fields
}

TemplateGenerator handles project generation from templates

func NewTemplateGenerator

func NewTemplateGenerator(cfg *config.ProjectConfig) *TemplateGenerator

NewTemplateGenerator creates a new template generator

func (*TemplateGenerator) Generate

func (tg *TemplateGenerator) Generate() error

Generate generates the project structure and files

func (*TemplateGenerator) SetErrorCallback

func (tg *TemplateGenerator) SetErrorCallback(callback func(step int, err error))

SetErrorCallback sets the error callback

func (*TemplateGenerator) SetProgressCallback

func (tg *TemplateGenerator) SetProgressCallback(callback func(step int, message string))

SetProgressCallback sets the progress callback

Jump to

Keyboard shortcuts

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