Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
func (*Engine) Render ¶
func (t *Engine) Render(ctx context.Context, w io.Writer, templates []string, data map[string]any, funcs template.FuncMap, includeHelper bool) error
Render executes the templates with data and func to the writer. This function can be io and cpu intensive and therefore can abort when the context was canceled.
Click to show internal directories.
Click to hide internal directories.