Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use WriteJSON and ReadJSON on Conn struct. #1

Closed
wants to merge 3 commits into from

Conversation

tapocol
Copy link
Contributor

@tapocol tapocol commented Oct 26, 2013

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.

@garyburd
Copy link
Contributor

To prevent breaking existing code, please implement the old functions by calling the new connection methods. Note that the old functions are deprecated in the godoc comments for the functions.

@tapocol
Copy link
Contributor Author

tapocol commented Oct 27, 2013

Hold on, didn't notice the DeepEqual in test. Just writing a brand new test for deprecated functions.

@garyburd
Copy link
Contributor

The changes are merged to master. Thanks!

@garyburd garyburd closed this Oct 28, 2013
@gorilla gorilla locked and limited conversation to collaborators Feb 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants