Skip to content

New snapshot iterator and position format #341

New snapshot iterator and position format

New snapshot iterator and position format #341

Triggered via pull request April 16, 2024 14:22
Status Failure
Total duration 26s
Artifacts

lint.yml

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

Annotations

10 errors and 1 warning
golangci-lint: source/snapshot/fetcher.go#L97
Error return value of `tx.Rollback` is not checked (errcheck)
golangci-lint: source/snapshot/fetcher.go#L120
Error return value of `tx.Rollback` is not checked (errcheck)
golangci-lint: source/snapshot/fetcher.go#L182
Error return value of `tx.Exec` is not checked (errcheck)
golangci-lint: source/snapshot/iterator.go#L94
Error return value of `i.t.Killf` is not checked (errcheck)
golangci-lint: source/snapshot/fetcher.go#L247
typeSwitchVar: 1 case can benefit from type switch with assignment (gocritic)
golangci-lint: source/position/position.go#L1
Missed header for check (goheader)
golangci-lint: source/snapshot/fetcher.go#L1
Missed header for check (goheader)
golangci-lint: source/snapshot/iterator.go#L1
Missed header for check (goheader)
golangci-lint: source/snapshot/fetcher.go#L156
unnecessary trailing newline (whitespace)
golangci-lint
issues found
golangci-lint: source/snapshot/iterator.go#L92
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)