Documentation
¶
Overview ¶
Package template implements the template file manager: *.tmpl files are the human-edited source of truth and render to a sibling file with the .tmpl suffix stripped, using the .version context resolved from the lock. This covers comment-hostile formats (JSON) and any file where an explicit template beats in-place rewriting.
Index ¶
Constants ¶
View Source
const Name = "template"
Name is the manager's registry name.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct{}
Manager renders version templates to their sibling output files.
func (Manager) DefaultPaths ¶
DefaultPaths matches template files anywhere in the project tree.
Click to show internal directories.
Click to hide internal directories.