Documentation
¶
Overview ¶
Package texttmpl provides convenience utilities for using text templates in an embedded filesystem.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Load
deprecated
func Load(tmpl *template.Template, fs embedded.FileSystem, p string, filter func(p 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.
Deprecated: use Go 1.16's embedded support instead
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.