Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CtxFuncProvider ¶
type Engine ¶
type Engine interface {
Render(context context.Context, name string, data interface{}) (io.Reader, error)
}
Engine defines the basic template engine
type FuncProvider ¶
type PartialEngine ¶
type PartialEngine interface {
RenderPartials(ctx context.Context, templateName string, data interface{}, partials []string) (map[string]string, error)
}
RenderPartials is used for progressive enhancements / rendering of partial template areas usually this is requested via the appropriate javascript headers and taken care of in the framework renderer
Click to show internal directories.
Click to hide internal directories.