Documentation ¶ Index ¶ func NewTemplates() (map[string]*template.Template, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewTemplates ¶ func NewTemplates() (map[string]*template.Template, error) Parse template entries from templatesDir, mapped to filenames without the prefixed templatesDir. i.e. templates/tmpl/relay/landing.html ---> map["relay/landing.html" -> *template.Template]. Types ¶ This section is empty. Source Files ¶ View all Source files embedded_templates.go Click to show internal directories. Click to hide internal directories.