From a7ff2e461ef0685e2a5b00bafe298b4526513f69 Mon Sep 17 00:00:00 2001 From: kha7iq Date: Wed, 28 Apr 2021 00:58:50 +0800 Subject: [PATCH] fix: lint code --- cmd/mattermost.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/mattermost.go b/cmd/mattermost.go index 9f374ce..e858567 100644 --- a/cmd/mattermost.go +++ b/cmd/mattermost.go @@ -146,7 +146,6 @@ You can specify multiple channels by separating the value with ','.`, // toJson takes strings and convert them to json byte array func toJson(channel string, msg string) ([]byte, error) { - m := make(map[string]string, 2) m["channel_id"] = channel m["message"] = msg