()
| 191 | } |
| 192 | |
| 193 | func (k Key) String() string { |
| 194 | return string(k) |
| 195 | } |
| 196 | |
| 197 | // GetTemplateData creates the template data from the context and the alerts. |
| 198 | func GetTemplateData(ctx context.Context, tmpl *template.Template, alerts []*types.Alert, l *slog.Logger) *template.Data { |
no outgoing calls