Skip to content

Update Makefile to fix multiple errors #28

Update Makefile to fix multiple errors

Update Makefile to fix multiple errors #28

Triggered via pull request December 20, 2023 10:49
Status Failure
Total duration 38s
Artifacts

linters.yaml

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

Annotations

1 error and 10 warnings
golangci-lint
issues found
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)