Merge pull request #121 from rishavmehra/rishavmehra/improvement #100
Annotations
7 errors and 3 warnings
mux-elasticsearch/app.go#L98
Error return value of `res.Body.Close` is not checked (errcheck)
|
mux-elasticsearch/app.go#L113
Error return value of `(*encoding/json.Encoder).Encode` is not checked (errcheck)
|
mux-elasticsearch/app.go#L129
Error return value of `res.Body.Close` is not checked (errcheck)
|
mux-elasticsearch/app.go#L145
Error return value of `(*encoding/json.Encoder).Encode` is not checked (errcheck)
|
mux-elasticsearch/app.go#L175
Error return value of `res.Body.Close` is not checked (errcheck)
|
mux-elasticsearch/app.go#L233
Error return value of `res.Write` is not checked (errcheck)
|
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
mux-elasticsearch/app.go#L1
package-comments: should have a package comment (revive)
|
mux-elasticsearch/app.go#L231
unused-parameter: parameter 'req' seems to be unused, consider removing or renaming it as _ (revive)
|
This job failed
Loading