diff --git a/pkg/notify/slack.go b/pkg/notify/slack.go index 65034d4..6f61bd7 100644 --- a/pkg/notify/slack.go +++ b/pkg/notify/slack.go @@ -16,6 +16,7 @@ import ( var slackClient = &http.Client{Timeout: 5 * time.Second} +// dollars converts cents to dollars func dollars(cents int) string { return fmt.Sprintf("$%.2f", float64(cents)/100) }