Discover Packages
github.com/idelchi/aura
internal
tmpl
package
Version:
v0.0.0-beta
Opens a new window with list of versions in this module.
Published: Mar 30, 2026
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package tmpl provides Go template expansion with sprig functions for YAML-based command sequences.
Expand executes data as a Go template with sprig functions and merged variables.
Pass nil for vars when no overrides are needed; use sprig's {{ env "VAR" }} for env vars.
Load reads a YAML file, expanding Go templates before parsing, and returns a list of strings.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.