Skip to content

Add golangci-lint

Add golangci-lint #2

Triggered via pull request December 4, 2024 02:30
Status Failure
Total duration 25s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Go Lint: log/log.go#L141
append to slice `opentracingFields` with non-zero initialized length (makezero)
Go Lint: log/log.go#L144
append to slice `opentracingFields` with non-zero initialized length (makezero)
Go Lint: utils/fields.go#L35
G115: integer overflow conversion int64 -> uint32 (gosec)
Go Lint: utils/fields.go#L37
G115: integer overflow conversion int64 -> uint64 (gosec)
Go Lint: utils/fields.go#L41
G115: integer overflow conversion int64 -> int32 (gosec)
Go Lint: utils/fields.go#L47
G115: integer overflow conversion int64 -> uint64 (gosec)
Go Lint: utils/fields.go#L49
G115: integer overflow conversion int64 -> uint32 (gosec)
Go Lint: utils/fields.go#L39
unnecessary conversion (unconvert)
Go Lint: utils/fields.go#L45
type assertion must be checked (forcetypeassert)
Go Lint: utils/fields.go#L53
type assertion must be checked (forcetypeassert)