Skip to content

Conversation

sonatard
Copy link
Owner

@sonatard sonatard commented Apr 26, 2025

Fix #22

@sonatard sonatard force-pushed the detect-new-request branch from e641905 to 0b48694 Compare April 26, 2025 03:54
@sonatard sonatard force-pushed the detect-new-request branch from 0b48694 to f096b01 Compare April 26, 2025 03:56
cli.Do(req51)

req52, _ := newRequestPkg(http.MethodPost, url, nil) // want `should rewrite http.NewRequestWithContext or add \(\*Request\).WithContext`
req52, _ := newRequestPkg(http.MethodPost, url, nil) // TODO: false negative `net/http\.NewRequest must not be called. use net/http\.NewRequestWithContext`
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

false negative we have to send pull request to https://github.com/gostaticanalysis/analysisutil/

@sonatard sonatard marked this pull request as ready for review April 26, 2025 03:59
@sonatard sonatard merged commit 9a51409 into master Apr 26, 2025
2 checks passed
@sonatard sonatard deleted the detect-new-request branch April 26, 2025 04:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

error when using http.NewRequest
1 participant