Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Multi ¶
type Multi struct {
// contains filtered or unexported fields
}
Multi implements jet.Loader interface and tries to load templates from a list of custom loaders.
func NewLoader ¶
NewLoader returns a new multi loader. The order of the loaders passed as parameters will define the order in which templates are loaded.
func (*Multi) AddLoaders ¶
AddLoaders adds the passed loaders to the list of loaders.
func (*Multi) ClearLoaders ¶
func (m *Multi) ClearLoaders()
ClearLoaders clears the list of loaders.
Click to show internal directories.
Click to hide internal directories.