diff --git a/bridge/discord/discord.go b/bridge/discord/discord.go index da6f4402..cd3c86e2 100644 --- a/bridge/discord/discord.go +++ b/bridge/discord/discord.go @@ -4,9 +4,9 @@ import ( "bytes" "errors" "fmt" + "regexp" "strings" "sync" - "regexp" "github.com/42wim/matterbridge/bridge" "github.com/42wim/matterbridge/bridge/config" diff --git a/bridge/gitter/gitter.go b/bridge/gitter/gitter.go index 94ca885a..7508df5a 100644 --- a/bridge/gitter/gitter.go +++ b/bridge/gitter/gitter.go @@ -2,8 +2,8 @@ package bgitter import ( "fmt" - "strings" "regexp" + "strings" "github.com/42wim/go-gitter" "github.com/42wim/matterbridge/bridge" diff --git a/bridge/irc/handlers.go b/bridge/irc/handlers.go index 47a0e933..af7e699b 100644 --- a/bridge/irc/handlers.go +++ b/bridge/irc/handlers.go @@ -230,4 +230,4 @@ func (b *Birc) handleTopicWhoTime(client *girc.Client, event girc.Event) { user += " [" + parts[1] + "]" } b.Log.Debugf("%s: Topic set by %s [%s]", event.Command, user, time.Unix(t, 0)) -} \ No newline at end of file +} diff --git a/bridge/rocketchat/rocketchat.go b/bridge/rocketchat/rocketchat.go index ebbc66b5..4bc4955f 100644 --- a/bridge/rocketchat/rocketchat.go +++ b/bridge/rocketchat/rocketchat.go @@ -2,9 +2,9 @@ package brocketchat import ( "errors" + "regexp" "strings" "sync" - "regexp" "github.com/42wim/matterbridge/bridge" "github.com/42wim/matterbridge/bridge/config" diff --git a/bridge/slack/slack.go b/bridge/slack/slack.go index 2fcf807f..b4ba3ea7 100644 --- a/bridge/slack/slack.go +++ b/bridge/slack/slack.go @@ -4,16 +4,16 @@ import ( "bytes" "errors" "fmt" + "regexp" "strings" "sync" "time" - "regexp" "github.com/42wim/matterbridge/bridge" "github.com/42wim/matterbridge/bridge/config" "github.com/42wim/matterbridge/bridge/helper" "github.com/42wim/matterbridge/matterhook" - "github.com/hashicorp/golang-lru" + lru "github.com/hashicorp/golang-lru" "github.com/nlopes/slack" "github.com/rs/xid" ) diff --git a/bridge/sshchat/sshchat.go b/bridge/sshchat/sshchat.go index ae1787b8..9d4cf2f0 100644 --- a/bridge/sshchat/sshchat.go +++ b/bridge/sshchat/sshchat.go @@ -3,8 +3,8 @@ package bsshchat import ( "bufio" "io" - "strings" "regexp" + "strings" "github.com/42wim/matterbridge/bridge" "github.com/42wim/matterbridge/bridge/config" diff --git a/bridge/steam/steam.go b/bridge/steam/steam.go index 1ca72410..9731f587 100644 --- a/bridge/steam/steam.go +++ b/bridge/steam/steam.go @@ -2,9 +2,9 @@ package bsteam import ( "fmt" + "regexp" "sync" "time" - "regexp" "github.com/42wim/matterbridge/bridge" "github.com/42wim/matterbridge/bridge/config" diff --git a/bridge/telegram/telegram.go b/bridge/telegram/telegram.go index 4fc6d90d..eb5cc405 100644 --- a/bridge/telegram/telegram.go +++ b/bridge/telegram/telegram.go @@ -2,9 +2,9 @@ package btelegram import ( "html" + "regexp" "strconv" "strings" - "regexp" "github.com/42wim/matterbridge/bridge" "github.com/42wim/matterbridge/bridge/config" diff --git a/bridge/whatsapp/whatsapp.go b/bridge/whatsapp/whatsapp.go index 8649bdb4..842e1529 100644 --- a/bridge/whatsapp/whatsapp.go +++ b/bridge/whatsapp/whatsapp.go @@ -6,9 +6,9 @@ import ( "errors" "fmt" "os" + "regexp" "strings" "time" - "regexp" "github.com/42wim/matterbridge/bridge" "github.com/42wim/matterbridge/bridge/config" diff --git a/bridge/xmpp/xmpp.go b/bridge/xmpp/xmpp.go index 585151d7..71596d19 100644 --- a/bridge/xmpp/xmpp.go +++ b/bridge/xmpp/xmpp.go @@ -2,9 +2,9 @@ package bxmpp import ( "crypto/tls" + "regexp" "strings" "time" - "regexp" "github.com/42wim/matterbridge/bridge" "github.com/42wim/matterbridge/bridge/config" diff --git a/bridge/zulip/zulip.go b/bridge/zulip/zulip.go index c7d81a33..088167bc 100644 --- a/bridge/zulip/zulip.go +++ b/bridge/zulip/zulip.go @@ -3,11 +3,11 @@ package bzulip import ( "encoding/json" "io/ioutil" + "regexp" "strconv" "strings" "sync" "time" - "regexp" "github.com/42wim/matterbridge/bridge" "github.com/42wim/matterbridge/bridge/config"