Skip to content

Update logrus

Update logrus #24

Triggered via pull request December 4, 2023 09:50
Status Failure
Total duration 37s
Artifacts

linters.yaml

on: pull_request
golangci-lint
25s
golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
golangci-lint: api/api_query_params.go#L122
File is not `gofumpt`-ed (gofumpt)
golangci-lint: api/api_query_params_test.go#L21
File is not `gofumpt`-ed (gofumpt)
golangci-lint: api/api_query_params_test.go#L23
File is not `gofumpt`-ed (gofumpt)
golangci-lint: api/api_test.go#L33
File is not `gofumpt`-ed (gofumpt)
golangci-lint: api/api_test.go#L38
File is not `gofumpt`-ed (gofumpt)
golangci-lint: api/api_test.go#L118
File is not `gofumpt`-ed (gofumpt)
golangci-lint: api/api_test.go#L166
File is not `gofumpt`-ed (gofumpt)
golangci-lint: api/api_test.go#L250
File is not `gofumpt`-ed (gofumpt)
golangci-lint: api/context_test.go#L22
File is not `gofumpt`-ed (gofumpt)
golangci-lint: api/context_test.go#L24
File is not `gofumpt`-ed (gofumpt)
golangci-lint: api/api.go#L98
var-naming: type ApiClient should be APIClient (revive)
golangci-lint: api/api.go#L98
exported: type name will be used as api.ApiClient by other packages, and that stutters; consider calling this Client (revive)
golangci-lint: api/context.go#L33
context-keys-type: should not use basic type string as key in context.WithValue (revive)
golangci-lint: api/logging.go#L35
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: api/logging.go#L39
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: api/logging.go#L45
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: api/throttling.go#L45
unexported-return: exported func NewTimeoutSemaphore returns unexported type *api.timeoutSemaphore, which can be annoying to use (revive)
golangci-lint: fs_types.go#L63
var-naming: struct field ProtectionPolicyId should be ProtectionPolicyID (revive)
golangci-lint: fs_types.go#L142
var-naming: struct field ParentId should be ParentID (revive)
golangci-lint: fs_types.go#L148
var-naming: struct field Id should be ID (revive)