Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmbeddedTemplateLoader ¶
type EmbeddedTemplateLoader struct {
Embedded *Embedded
}
func (*EmbeddedTemplateLoader) Abs ¶
func (htl *EmbeddedTemplateLoader) Abs(base, name string) (absPath string)
Abs calculates the path to a given template. Whenever a path must be resolved due to an import from another template, the base equals the parent template's path.
Click to show internal directories.
Click to hide internal directories.