Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteTemplate ¶
func ExecuteTemplate(tmpl TemplateFile) (string, error)
func WriteConfigFile ¶
Types ¶
type TemplateFile ¶
type TemplateFile struct { Tags []string `yaml: "tags"` Template struct { Vars map[string]string `yaml: "vars"` Text string `yaml: "text"` } `yaml: "template"` }
func LoadTemplateFile ¶
func LoadTemplateFile(filename string) (TemplateFile, error)
Click to show internal directories.
Click to hide internal directories.