Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrTemplateNotFound = errors.New("template not found")
ErrTemplateNotFound is the error returned when the template not found
Functions ¶
This section is empty.
Types ¶
type DefaultStorage ¶
type DefaultStorage struct {
// contains filtered or unexported fields
}
DefaultStorage is the default implementation of the template storage
func NewDefaultStorage ¶
func NewDefaultStorage(tmpls ...Template) *DefaultStorage
NewDefaultStorage returns new default template storage
func (*DefaultStorage) RegisterTmpl ¶
func (s *DefaultStorage) RegisterTmpl(tmpls ...Template)
RegisterTmpl registers the templates
Click to show internal directories.
Click to hide internal directories.