coder/websocket

Invalid readme example

jachym-tousek-keboola opened this issue · 3 comments

The example in readme contains a call defer c.CloseNow(). However it seems this method doesn't exist anymore. What should it be replaced with?

Hi, this method does exist in the latest release. Are you sure you're on the latest release?

Ah, sorry... I just installed the package so I expected to get the latest version by default but somehow it installed outdated version 1.8.6. Not sure why. The method of course exists after updating.

No worries, glad all's good.