tloader

package
v0.0.0-...-32d5399 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectTemplatePaths

func CollectTemplatePaths(basename string, basepath string, extensions []string, recursive bool, names []string, paths []string) ([]string, []string, error)

func LoadPathsFromBox

func LoadPathsFromBox(templatesBox *rice.Box, current *rice.File, parent string, paths []string) ([]string, error)

func LoadTemplatesFromBinary

func LoadTemplatesFromBinary(templatesBox *rice.Box, templateFunctions template.FuncMap, verbose bool) (*template.Template, error)

func LoadTemplatesFromPaths

func LoadTemplatesFromPaths(pathsToTemplates string, templateExtensions []string, templateFunctions template.FuncMap, verbose bool) (*template.Template, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址