Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Load ¶
func Load(tmpl *template.Template, fs embedded.FileSystem, path string, filter func(path string, isDir bool) bool) (*template.Template, error)
Load the templates found at the path, omitting any that the filter function returns true for. The filter function may be nil, in which case all files are loaded. The filter function is not called for the initial path.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.