chore(deps): update golang docker tag to v1.22 - autoclosed #69
Annotations
6 errors and 3 warnings
golangci:
mongo/database.go#L25
File is not `goimports`-ed (goimports)
|
golangci:
routing/images.go#L24
File is not `goimports`-ed (goimports)
|
golangci:
routing/index.go#L24
File is not `goimports`-ed (goimports)
|
golangci:
main.go#L81
G112: Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server (gosec)
|
golangci:
routing/images.go#L96
S1005: unnecessary assignment to the blank identifier (gosimple)
|
golangci
issues found
|
golangci
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
golangci:
util/util.go#L31
var-naming: func WriteJson should be WriteJSON (revive)
|
golangci:
mongo/database.go#L58
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
|