alertmanager/template
Vincent Rischmann 66a0ed21bd template: add the default template function stringSlice (#2101)
Since it's impossible to create a string slice in a Go template by
default, add a function to work around this problem.

The use case is to make it easy to call KV.Remove with an arbitrary
slice inside a template.

Signed-off-by: Vincent Rischmann <vincent@rischmann.fr>
2019-11-13 09:32:51 +00:00
..
default.tmpl Allow slashes in receivers (#2011) 2019-08-28 10:01:47 +02:00
email.html Email is green if only none firing (#1475) 2018-07-23 14:06:46 +02:00
template.go template: add the default template function stringSlice (#2101) 2019-11-13 09:32:51 +00:00
template_test.go template: add the default template function stringSlice (#2101) 2019-11-13 09:32:51 +00:00