From 196f39c69c46c572f190fc60fd54c418f736b78c Mon Sep 17 00:00:00 2001 From: Josh Chorlton Date: Wed, 13 Jul 2016 13:11:21 -0700 Subject: [PATCH] Fix spelling (chanel -> channel) --- websocket-chat/src/chat/client.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/websocket-chat/src/chat/client.go b/websocket-chat/src/chat/client.go index 5f05856..309e9ee 100644 --- a/websocket-chat/src/chat/client.go +++ b/websocket-chat/src/chat/client.go @@ -57,13 +57,13 @@ func (c *Client) Done() { c.doneCh <- true } -// Listen Write and Read request via chanel +// Listen Write and Read request via channel func (c *Client) Listen() { go c.listenWrite() c.listenRead() } -// Listen write request via chanel +// Listen write request via channel func (c *Client) listenWrite() { log.Println("Listening write to client") for { @@ -83,7 +83,7 @@ func (c *Client) listenWrite() { } } -// Listen read request via chanel +// Listen read request via channel func (c *Client) listenRead() { log.Println("Listening read from client") for {