setup golangci-lint and fix the suggestions #610
reviewdog.yml
on: pull_request
runner / go-test
47s
runner / shellcheck
9s
runner / misspell
13s
runner / alex
43s
runner / golangci-lint
1m 8s
runner / gofmt
15s
runner / shfmt
21s
Annotations
2 errors
runner / golangci-lint:
cmd/pbm-agent-entrypoint/main.go#L82
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
|
runner / golangci-lint:
speedt/speedt.go#L157
unsafeptr: possible misuse of reflect.SliceHeader (govet)
|