use better raw file handling and return resources #1231
Annotations
6 errors
|
lint
issues found
|
|
lint:
pkg/raw/raw.go#L50
ST1003: method UrlFromOpts should be URLFromOpts (staticcheck)
|
|
lint:
pkg/github/repository_resource.go#L142
ifElseChain: rewrite if-else to switch statement (gocritic)
|
|
lint:
pkg/raw/raw_test.go#L96
Error return value of `resp.Body.Close` is not checked (errcheck)
|
|
lint:
pkg/github/repository_resource.go#L146
Error return value of `resp.Body.Close` is not checked (errcheck)
|
|
lint:
pkg/github/repositories.go#L471
Error return value of `resp.Body.Close` is not checked (errcheck)
|