From 51327a405651442ac47c4ce75363442fa323b592 Mon Sep 17 00:00:00 2001 From: Liam Stanley Date: Sat, 9 Jun 2018 06:47:40 -0400 Subject: Reconnect on quit. (irc) See #431 (#445) * potential fixes for #431 * go: fix formatting/gofmt/goreturns --- matterhook/matterhook.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'matterhook') diff --git a/matterhook/matterhook.go b/matterhook/matterhook.go index 11453e34..9287baa9 100644 --- a/matterhook/matterhook.go +++ b/matterhook/matterhook.go @@ -6,14 +6,15 @@ import ( "crypto/tls" "encoding/json" "fmt" - "github.com/gorilla/schema" - "github.com/nlopes/slack" "io" "io/ioutil" "log" "net" "net/http" "time" + + "github.com/gorilla/schema" + "github.com/nlopes/slack" ) // OMessage for mattermost incoming webhook. (send to mattermost) -- cgit v1.2.3