12 lines
300 B
Go
12 lines
300 B
Go
package main
|
|
|
|
const TelegramMessageTemplate = `{{- range .Messages}}
|
|
:: {{.GetName}}: {{.FormatEvent}}
|
|
{{- else -}}
|
|
Huh, no messages - this is a bug
|
|
{{- end}}`
|
|
|
|
const IRCMessageTemplate = `{{- range .Messages}} {{.GetName}}: {{.FormatEvent}}; {{- else -}}
|
|
Huh, no messages - this is a bug
|
|
{{- end}}`
|