Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AppFs afero.Fs = afero.NewOsFs()
Global Afero Filesystem variable
Functions ¶
func RemoveThaumExtension ¶
Trims the .thaum extension from the path
Types ¶
type Template ¶
type Template struct { Dirs []string Files []TemplateFile Variables map[string]string Name string }
A complete representation of a template that's stored in thaum_files.
func GetTemplate ¶
From a template name, returns a complete template
type TemplateFile ¶
type TemplateFile struct {
// contains filtered or unexported fields
}
An individual file inside of the template
Click to show internal directories.
Click to hide internal directories.