Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoxBasedTemplateStore ¶
type BoxBasedTemplateStore struct {
sync.Mutex
Box *packr.Box
// contains filtered or unexported fields
}
BoxBasedTemplateStore ...
func (*BoxBasedTemplateStore) GetTemplate ¶
func (ts *BoxBasedTemplateStore) GetTemplate(fileName string) (*template.Template, error)
GetTemplate ...
type TData ¶
type TData map[string]interface{}
TData map holding data for page templates
func NewTemplateDataWithRequestData ¶
NewTemplateDataWithRequestData return view data map filled with context data
type TStoreRenderer ¶
type TStoreRenderer struct {
TStore TStore
}
TStoreRenderer is a custom html/template renderer for Echo framework, it uses a template.TStore for rendering templates damit man echo.Context.Render aufrufen kann
Click to show internal directories.
Click to hide internal directories.