From 0e91c39e9de0cfe8f3b72e26916e657ee6935e77 Mon Sep 17 00:00:00 2001 From: Dwi Siswanto Date: Tue, 27 Oct 2020 15:51:06 +0700 Subject: [PATCH] :pencil: Add trailing spaces --- internal/alert/slack.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/alert/slack.go b/internal/alert/slack.go index 98d5a33a..5c4e3711 100644 --- a/internal/alert/slack.go +++ b/internal/alert/slack.go @@ -7,12 +7,12 @@ import ( func toSlack(token string, channel string, color string, log map[string]string) { api := slack.New(token) - reason := slack.Attachment{ + reason := slack.Attachment { AuthorName: ":warning: teler Alert", Title: log["category"], Color: color, } - request := slack.Attachment{ + request := slack.Attachment { Title: "Request", Text: fmt.Sprintf( "%s %s %s", @@ -20,9 +20,9 @@ func toSlack(token string, channel string, color string, log map[string]string) ), Color: color, } - fields := slack.Attachment{ + fields := slack.Attachment { Color: color, - Fields: []slack.AttachmentField{ + Fields: []slack.AttachmentField { { Title: "Date", Value: log["time_local"],