engine

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

type Engine struct {
	Config    *config.TemplateConfig
	SourceDir string
	OutputDir string
	Data      map[string]string
	DryRun    bool
	RawMode   bool
}

func NewEngine

func NewEngine(cfg *config.TemplateConfig, source, output string, data map[string]string, dryRun, rawMode bool) *Engine

func (*Engine) RenderString

func (e *Engine) RenderString(tpl string) (string, error)

func (*Engine) Run

func (e *Engine) Run() error

Jump to

Keyboard shortcuts

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