Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MatchParentComment ¶
MatchParentComment will search data for the comment that defines the parent it extends. If match is empty is means no parent is defined
Types ¶
type Loader ¶
type Loader struct { //NoCache disables templates being loaded from cache NoCache bool // contains filtered or unexported fields }
Loader will fetch templates by name from an http.FileSystem. It provides template inheritance by search the loaded template for a specially crafted comment. Loading of templates with the same name are cached and not loaded calls
Click to show internal directories.
Click to hide internal directories.