templatemanager

package
v0.0.0-...-5e41430 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MasterTemplate *template.Template

MasterTemplate contains all the templates

Functions

func LoadTemplatesAndWatch

func LoadTemplatesAndWatch(templatesFolder string, templateFileExt string)

LoadTemplatesAndWatch wil parse all files ending with templateFileExt under templatesFolder and subdirectory and store them in MasterTemplate. In addition to that after invoking LoadTemplatesAndWatch a goroutine will periodically check if templates are added/removed/modified and i

Types

This section is empty.

Jump to

Keyboard shortcuts

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