Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilenameFromPath ¶
Types ¶
type Manager ¶
type Manager struct {
// Use template cache?
UseTplCache bool
// Default base template suffixes
BaseTplSuffixes []string
// Default directory to look in for base templates
BaseTplDirs []string
TplDirs []string
// Functions to add to templates
DefaultTplFuncs template.FuncMap
// Template file system
TplFileSystem fs.FS
// contains filtered or unexported fields
}
Template manager Used for easily fetching templates.
Click to show internal directories.
Click to hide internal directories.