From e14c1003c69bd807bbda26206931f07af1287688 Mon Sep 17 00:00:00 2001
From: Anmol Sethi <hi@nhooyr.io>
Date: Tue, 8 Oct 2019 22:06:43 -0400
Subject: [PATCH] Update comment on unexported js reader method

---
 websocket_js.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/websocket_js.go b/websocket_js.go
index d7cbf5c..3340349 100644
--- a/websocket_js.go
+++ b/websocket_js.go
@@ -291,7 +291,7 @@ func (c *Conn) Reader(ctx context.Context) (MessageType, io.Reader, error) {
 	return typ, bytes.NewReader(p), nil
 }
 
-// Only implemented for use by *Conn.CloseRead in netconn.go
+// Only implemented for use by *Conn.CloseRead in conn_common.go
 func (c *Conn) reader(ctx context.Context, _ bool) {
 	c.read(ctx)
 }
-- 
GitLab