gorilla/websocket — pull request #1 by craigjackson (2013-10-26 08:17:15+00:00)
Title: Use WriteJSON and ReadJSON on Conn struct.

Since it is already a requirement to give the *Conn struct and ReadMessage and WriteMessage were methods on *Conn, figured it made sense to adjust the JSON methods.