mirror of https://github.com/statping/statping
![]() The Email notifier was using `map[string]interface{}` to "put" the information (like Service and Failure struct) into the template. The value of a map can only be used with `{{ index . "Service" }}` in a GoLang template. To simplify – and reduce the needed changes – `emailOutgoing` now contains for the `Data` field an extra struct with `Service` and `Failure` fields. This patch fixes #472. |
||
---|---|---|
.. | ||
command.go | ||
command_test.go | ||
discord.go | ||
discord_test.go | ||
email.go | ||
email_test.go | ||
line_notify.go | ||
mobile.go | ||
mobile_test.go | ||
notifiers.go | ||
pushover.go | ||
pushover_test.go | ||
slack.go | ||
slack_test.go | ||
telegram.go | ||
telegram_test.go | ||
twilio.go | ||
twilio_test.go | ||
webhook.go | ||
webhook_test.go |