Add golangci-lint #2
lint.yml
on: pull_request
Go Lint
17s
Actionlint
8s
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)
|