Documentation ¶ Index ¶ type Engine func NewEngine(cfg *config.TemplateConfig, source, output string, data map[string]string, ...) *Engine func (e *Engine) RenderString(tpl string) (string, error) func (e *Engine) Run() error 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 Source Files ¶ View all Source files copy.goengine.goexecute.gopresets.gotemplate.go Click to show internal directories. Click to hide internal directories.