Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Templates ¶
type Templates struct {
// contains filtered or unexported fields
}
Templates holds the parsed template files and any local attributes.
func New ¶
New creates a new Templates instance by compiling all files recursively in the given directory. Panics on error.
func NewWithDelims ¶
New creates a new Templates instance by compiling all files recursively in the given directory using the given delimiters. Panics on error.
Click to show internal directories.
Click to hide internal directories.