Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMemoryTemplateLoader ¶
func NewMemoryTemplateLoader(loaderFunc func(path string) ([]byte, error)) pongo2.TemplateLoader
NewMemoryTemplateLoader loads a bindata template loader
func NewMemoryTemplateLoaderWithFallback ¶
func NewMemoryTemplateLoaderWithFallback(loaderFunc func(path string) ([]byte, error), fallbackLoader pongo2.TemplateLoader) pongo2.TemplateLoader
NewMemoryTemplateLoaderWithFallback loads a bindata template loader, but if the file is not found it will try to find it in the fallback loader with the same path
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.