gopherjs / websocket

websocket provides high- and low-level bindings for the browser's WebSocket API.
BSD 3-Clause "New" or "Revised" License
111 stars 25 forks source link

Update example in README.md #14

Closed mrauh closed 9 years ago

mrauh commented 9 years ago

In the example of the low-level bindings, the onOpen function requires a pointer to a js.Object.

dmitshur commented 9 years ago

I updated doc.go but missed README.md in 4fa2f19101270dd164ee7ab61af90c2a03f87067. Thank you!

LGTM.