-
Notifications
You must be signed in to change notification settings - Fork 113
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
httpNoBody: also warn on using "nil" instead of "http.NoBody" on (net/http/httptest).NewRequest #1344
Labels
checker stabilization
Checker proposed for stabilization
Comments
Nice catch, feel free to make a PR 😉 |
leonklingele
added a commit
to leonklingele/go-critic
that referenced
this issue
May 18, 2023
…y" on (net/http/httptest).NewRequest Implements go-critic#1344.
leonklingele
added a commit
to leonklingele/go-critic
that referenced
this issue
May 18, 2023
…y" on (net/http/httptest).NewRequest Implements go-critic#1344.
@cristaloleg updated, ptal! :) |
leonklingele
added a commit
to leonklingele/go-critic
that referenced
this issue
May 19, 2023
…y" on (net/http/httptest).NewRequest Implements go-critic#1344.
Implemented with d97daec. |
lasiar
pushed a commit
to lasiar/go-critic
that referenced
this issue
Sep 22, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, no warning is issued when using
nil
instead ofhttp.NoBody
as a third argument to(net/http/httptest).NewRequest
.The text was updated successfully, but these errors were encountered: