Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrTemplateNotFound = errors.New("error template not found") ErrWalkingDir = errors.New("error walking directory") ErrReadingContent = errors.New("error reading template content") ErrParsingTemplate = errors.New("error parsing template") ErrGettingTemplate = errors.New("error getting template") ErrExecutingTemplate = errors.New("error executing template") )
Functions ¶
func ExecuteTemplate ¶
ExecuteTemplate executes a cached template with the provided data.
func LoadTemplates ¶
LoadTemplates loads all embedded .gotmpl files into memory.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.