We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
httptest.ResponseRecorder is inspected directly instead of calling Result() to obtain a http.Response
httptest.ResponseRecorder
Result()
http.Response
[1] https://golang.org/pkg/net/http/httptest/#example_ResponseRecorder
The text was updated successfully, but these errors were encountered:
@ceocoder, that was the old way, and still acceptable. But yes, we should probably show the new way in the example.
Sorry, something went wrong.
@bradfitz I've a CL ready, I'm trying to push it up. Just waiting on CLA to propagate
Here we go, https://go-review.googlesource.com/27495
CL https://golang.org/cl/27495 mentions this issue.
cd5ab97
No branches or pull requests
httptest.ResponseRecorder
is inspected directly instead of callingResult()
to obtain ahttp.Response
[1] https://golang.org/pkg/net/http/httptest/#example_ResponseRecorder
The text was updated successfully, but these errors were encountered: