|
|
@ -150,6 +150,8 @@ func NewTemplateExpander(text string, name string, data interface{}, timestamp m |
|
|
|
}, |
|
|
|
}, |
|
|
|
"match": regexp.MatchString, |
|
|
|
"match": regexp.MatchString, |
|
|
|
"title": strings.Title, |
|
|
|
"title": strings.Title, |
|
|
|
|
|
|
|
"toUpper": strings.ToUpper, |
|
|
|
|
|
|
|
"toLower": strings.ToLower, |
|
|
|
"graphLink": strutil.GraphLinkForExpression, |
|
|
|
"graphLink": strutil.GraphLinkForExpression, |
|
|
|
"tableLink": strutil.TableLinkForExpression, |
|
|
|
"tableLink": strutil.TableLinkForExpression, |
|
|
|
"sortByLabel": func(label string, v queryResult) queryResult { |
|
|
|
"sortByLabel": func(label string, v queryResult) queryResult { |
|
|
|