From a691554234e3ad5becececf653f9e0461f8f88c8 Mon Sep 17 00:00:00 2001 From: Kevin Cotugno Date: Mon, 25 Sep 2017 16:56:34 -0700 Subject: [PATCH] gofmt --- gdax/listener_service.go | 4 ++-- gdax/websocket/client.go | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/gdax/listener_service.go b/gdax/listener_service.go index ac0b9ac..b9f1c5b 100644 --- a/gdax/listener_service.go +++ b/gdax/listener_service.go @@ -18,9 +18,9 @@ type ListenerService struct { closed bool shouldRestart bool - restMu sync.Mutex + restMu sync.Mutex - errorsMu sync.Mutex + errorsMu sync.Mutex sendErrors bool } diff --git a/gdax/websocket/client.go b/gdax/websocket/client.go index 04ed6ff..215d4a4 100644 --- a/gdax/websocket/client.go +++ b/gdax/websocket/client.go @@ -56,7 +56,6 @@ func (c *Client) Open() error { c.msgs <- msg } - close(c.msgs) close(c.err) }()