Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dependencies ¶ added in v0.8.0
type Dependencies struct { Funcs template.FuncMap Cache bool CacheProvider cbweb.CacheProvider }
type InheritanceMultiTemplate ¶
type InheritanceMultiTemplate struct {
// contains filtered or unexported fields
}
func NewInheritanceMultiTemplate ¶
func NewInheritanceMultiTemplate(dependencies Dependencies) *InheritanceMultiTemplate
func (*InheritanceMultiTemplate) AddTemplate ¶
func (m *InheritanceMultiTemplate) AddTemplate(name string, content []byte) error
func (*InheritanceMultiTemplate) ExecuteTemplate ¶
func (m *InheritanceMultiTemplate) ExecuteTemplate(wr io.Writer, name string, data interface{}) error
Click to show internal directories.
Click to hide internal directories.