diff options
author | Duco van Amstel <duco.vanamstel@gmail.com> | 2018-11-15 19:43:43 +0000 |
---|---|---|
committer | Wim <wim@42.be> | 2018-11-15 20:43:43 +0100 |
commit | ce21ba154585395e792c059ac156299071405247 (patch) | |
tree | f76f4617cc2c099a9a2e97bc85fce28cf04010b1 /bridge/slack/legacy.go | |
parent | c89085bf44333b4decd75e30cec5849dca859938 (diff) | |
download | matterbridge-msglm-ce21ba154585395e792c059ac156299071405247.tar.gz matterbridge-msglm-ce21ba154585395e792c059ac156299071405247.tar.bz2 matterbridge-msglm-ce21ba154585395e792c059ac156299071405247.zip |
Fix golint linter issues and enable it in CI (#593)
Diffstat (limited to 'bridge/slack/legacy.go')
-rw-r--r-- | bridge/slack/legacy.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bridge/slack/legacy.go b/bridge/slack/legacy.go index a7e7f01f..be372edd 100644 --- a/bridge/slack/legacy.go +++ b/bridge/slack/legacy.go @@ -8,15 +8,15 @@ import ( "github.com/nlopes/slack" ) -type BslackLegacy struct { +type BLegacy struct { *Bslack } func NewLegacy(cfg *bridge.Config) bridge.Bridger { - return &BslackLegacy{Bslack: newBridge(cfg)} + return &BLegacy{Bslack: newBridge(cfg)} } -func (b *BslackLegacy) Connect() error { +func (b *BLegacy) Connect() error { b.RLock() defer b.RUnlock() if b.GetString(incomingWebhookConfig) != "" { |