Versions in this module Expand all Collapse all v1 v1.7.2 Feb 15, 2018 Changes in this version + type Expander struct + func NewTemplateExpander(ctx context.Context, text string, name string, data interface{}, ...) *Expander + func (te Expander) Expand() (result string, resultErr error) + func (te Expander) ExpandHTML(templateFiles []string) (result string, resultErr error) + func (te Expander) Funcs(fm text_template.FuncMap) + type QueryFunc func(context.Context, string, time.Time) (promql.Vector, error)