Fix style issues reported by golangci-lint
#90
Annotations
10 errors
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)
|
kaitai/stream.go#L106
named return "v" with type "uint8" found (nonamedreturns)
|
kaitai/stream.go#L114
named return "v" with type "uint16" found (nonamedreturns)
|
kaitai/stream.go#L122
named return "v" with type "uint32" found (nonamedreturns)
|
kaitai/stream.go#L130
named return "v" with type "uint64" found (nonamedreturns)
|
kaitai/stream.go#L138
named return "v" with type "uint16" found (nonamedreturns)
|
kaitai/stream.go#L146
named return "v" with type "uint32" found (nonamedreturns)
|
kaitai/stream.go#L154
named return "v" with type "uint64" found (nonamedreturns)
|
kaitai/stream.go#L162
named return "v" with type "int8" found (nonamedreturns)
|
kaitai/stream.go#L168
named return "v" with type "int16" found (nonamedreturns)
|
This job failed
Loading