Skip to content

Fix style issues reported by golangci-lint #90

Fix style issues reported by golangci-lint

Fix style issues reported by golangci-lint #90

Triggered via push August 2, 2024 13:03
Status Failure
Total duration 17s
Artifacts

go.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Lint: kaitai/stream.go#L324
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"ReadBytesTermMulti: end of stream reached, but no terminator found\")" (err113)
Lint: kaitai/stream.go#L106
named return "v" with type "uint8" found (nonamedreturns)
Lint: kaitai/stream.go#L114
named return "v" with type "uint16" found (nonamedreturns)
Lint: kaitai/stream.go#L122
named return "v" with type "uint32" found (nonamedreturns)
Lint: kaitai/stream.go#L130
named return "v" with type "uint64" found (nonamedreturns)
Lint: kaitai/stream.go#L138
named return "v" with type "uint16" found (nonamedreturns)
Lint: kaitai/stream.go#L146
named return "v" with type "uint32" found (nonamedreturns)
Lint: kaitai/stream.go#L154
named return "v" with type "uint64" found (nonamedreturns)
Lint: kaitai/stream.go#L162
named return "v" with type "int8" found (nonamedreturns)
Lint: kaitai/stream.go#L168
named return "v" with type "int16" found (nonamedreturns)