diff --git a/websocket_js.go b/websocket_js.go index d7cbf5c7f14c66fd0b8116453cd95ee7deac6897..334034985840ad1f0c0f3b3099ced78633a3b79c 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) }