Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilenameFromPath ¶
Types ¶
type Manager ¶ added in v2.5.4
type Manager struct { // Use template cache? USE_TEMPLATE_CACHE bool // Default base template suffixes BASE_TEMPLATE_SUFFIXES []string // Default directory to look in for base templates BASE_TEMPLATE_DIRS []string TEMPLATE_DIRS []string // Functions to add to templates DEFAULT_FUNCS template.FuncMap // Template file system TEMPLATEFS fs.FS // contains filtered or unexported fields }
Template manager Used for easily fetching templates.
Default manager the request package uses. If you wish to render templates with this package, you must set this variable.
Click to show internal directories.
Click to hide internal directories.