1
0
Fork 0
hswro-alarm-bot/templates.go

8 lines
160 B
Go
Raw Normal View History

2024-02-19 18:52:40 +00:00
package main
const TelegramMessageTemplate = `{{- range .Messages}}
2024-03-04 20:11:34 +00:00
:: {{.GetName}}: {{.FormatEvent}}
2024-02-19 18:52:40 +00:00
{{- else -}}
Huh, no messages - this is a bug
{{- end}}`