feat: status place holder #25
Annotations
10 errors and 3 warnings
tools/cachespam/main.go#L24
Error return value of `(github.com/haveachin/infrared/pkg/infrared/protocol/handshaking.ServerBoundHandshake).Marshal` is not checked (errcheck)
|
tools/cachespam/main.go#L25
Error return value of `pk.WriteTo` is not checked (errcheck)
|
tools/cachespam/main.go#L30
Error return value of `pk.Encode` is not checked (errcheck)
|
tools/cachespam/main.go#L31
Error return value of `pk.WriteTo` is not checked (errcheck)
|
pkg/infrared/server.go#L337
Error return value of `hash.Write` is not checked (errcheck)
|
pkg/infrared/server.go#L338
Error return value of `hash.WriteString` is not checked (errcheck)
|
pkg/infrared/handshake_response.go#L143
cognitive complexity 21 of func `(*OverrideStatusResponse).OverrideStatusResponseJSON` is high (> 20) (gocognit)
|
pkg/infrared/server.go#L238
File is not `goimports`-ed (goimports)
|
pkg/infrared/server.go#L332
(*statusResponseCache).cacheStatusResponse - result 0 (error) is always nil (unparam)
|
tools/cachespam/main.go#L15
var `statusRequestPayload` is unused (unused)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
pkg/infrared/handshake_response.go#L6
blank-imports: a blank import should be only in a main or test package, or have a comment justifying it (revive)
|
pkg/infrared/infrared.go#L287
unused-parameter: parameter 'c' seems to be unused, consider removing or renaming it as _ (revive)
|
This job failed
Loading