fix: address review comments

This commit is contained in:
James Houlahan
2020-04-21 07:17:50 +00:00
parent febdf98349
commit 1457005f86
31 changed files with 88 additions and 104 deletions

View File

@ -21,10 +21,10 @@ import (
"sync"
"time"
"github.com/ProtonMail/proton-bridge/pkg/logs"
"github.com/sirupsen/logrus"
)
var log = logs.GetLogEntry("bridgeUtils/listener") //nolint[gochecknoglobals]
var log = logrus.WithField("pkg", "bridgeUtils/listener") //nolint[gochecknoglobals]
// Listener has a list of channels watching for updates.
type Listener interface {