fix: lint code

pull/23/head
kha7iq 4 years ago
parent 7e1593e8a2
commit a7ff2e461e

@ -146,7 +146,6 @@ You can specify multiple channels by separating the value with ','.`,
// toJson takes strings and convert them to json byte array // toJson takes strings and convert them to json byte array
func toJson(channel string, msg string) ([]byte, error) { func toJson(channel string, msg string) ([]byte, error) {
m := make(map[string]string, 2) m := make(map[string]string, 2)
m["channel_id"] = channel m["channel_id"] = channel
m["message"] = msg m["message"] = msg

Loading…
Cancel
Save