server with secrets management #32
Annotations
10 errors and 8 warnings
server/secrets/service.go#L115
commentFormatting: put a space between `//` and comment text (gocritic)
|
config/db.go#L7
Comment should end in a period (godot)
|
config/db.go#L11
Comment should end in a period (godot)
|
server/cloud/cld/environment.go#L19
File is not `gofumpt`-ed (gofumpt)
|
server/cloud/aws/storage.go#L40
File is not `gofumpt`-ed (gofumpt)
|
server/cloud/aws/storage.go#L103
File is not `gofumpt`-ed (gofumpt)
|
config/db.go#L18
tag is not aligned, should be: default:"20" split_words:"true" (tagalign)
|
config/db.go#L19
tag is not aligned, should be: default:"30" split_words:"true" (tagalign)
|
config/db.go#L20
tag is not aligned, should be: default:"1000" split_words:"true" (tagalign)
|
config/db.go#L21
tag is not aligned, should be: required:"true" split_words:"true" (tagalign)
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: 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/
|
config/server.go#L42
deep-exit: calls to log.Fatalf only in main() or init() functions (revive)
|
server/lib/http.go#L16
argument-limit: maximum number of arguments per function exceeded; max 4 but got 5 (revive)
|
server/secrets/fetch.go#L17
struct-tag: tag on not-exported field orgID (revive)
|
server/secrets/fetch.go#L34
cyclomatic: function Fetch has cyclomatic complexity 9 (> max enabled 8) (revive)
|
server/secrets/upload.go#L16
struct-tag: tag on not-exported field decodedData (revive)
|
server/secrets/service.go#L116
comment-spacings: no space between comment delimiter and comment text (revive)
|
server/secrets/service.go#L118
comment-spacings: no space between comment delimiter and comment text (revive)
|
This job failed
Loading