Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Render ¶
func Render(log *logging.Logger, templateName, destinationPath string, options interface{}, destinationFileMode os.FileMode, config ...TemplateConfigurator) (bool, error)
Render updates the given destinationPath according to the given template and options. Returns true if the file was created or changed, false if nothing has changed.
Types ¶
type TemplateConfigurator ¶
Click to show internal directories.
Click to hide internal directories.