Skip to content

setup golangci-lint and fix the suggestions #610

setup golangci-lint and fix the suggestions

setup golangci-lint and fix the suggestions #610

Triggered via pull request July 15, 2023 16:01
@defbindefbin
synchronize #852
ci-lint
Status Success
Total duration 1m 20s
Artifacts

reviewdog.yml

on: pull_request
runner / go-test
47s
runner / go-test
runner / shellcheck
9s
runner / shellcheck
runner / misspell
13s
runner / misspell
runner / alex
43s
runner / alex
runner / golangci-lint
1m 8s
runner / golangci-lint
runner / gofmt
15s
runner / gofmt
runner / shfmt
21s
runner / shfmt
Fit to window
Zoom out
Zoom in

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)