Fixes #56 by adding handling for 429 responses (#57) #106
Annotations
6 errors and 1 warning
Build (1.24)
Process completed with exit code 2.
|
Build (1.24):
scraper/http.go#L21
error returned from external package is unwrapped: sig: func net/http.NewRequestWithContext(ctx context.Context, method string, url string, body io.Reader) (*net/http.Request, error) (wrapcheck)
|
Build (1.24):
scraper/http.go#L65
unnecessary leading newline (whitespace)
|
Build (1.24):
scraper/http.go#L51
superfluous-else: if block ends with a continue statement, so drop this else and outdent its block (revive)
|
Build (1.24):
scraper/http.go#L43
for loop can be changed to use an integer range (Go 1.22+) (intrange)
|
Build (1.24):
scraper/http.go#L35
ineffectual assignment to err (ineffassign)
|
Build (1.24)
Restore cache failed: Dependencies file is not found in /home/runner/work/goscrape/goscrape. Supported file pattern: go.sum
|