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

9 lines
188 B
Go
Raw Normal View History

2024-02-19 18:52:40 +00:00
package main
const TelegramMessageTemplate = `Received following changes:
{{- 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}}`