Fix golint issues

This commit is contained in:
Claudemiro
2018-11-26 22:57:50 +01:00
parent 3c51d0b614
commit 05c088f158
4 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ type ListenerFunc func(*Channel, *subscription.Subscription)
// ClientEventListenerFunc listener for client events
type ClientEventListenerFunc func(*Channel, *subscription.Subscription, string, interface{})
// A Channel
// Channel represents an application channel
type Channel struct {
sync.RWMutex
@@ -43,7 +43,7 @@ type Channel struct {
clientEventListeners []ClientEventListenerFunc
}
// Create a new Channel
// New Create a new Channel
func New(channelID string, options ...Option) *Channel {
log.Infof("Creating a new Channel: %s", channelID)