Skip to content

lint-fix

lint-fix #379

Triggered via push November 9, 2024 14:14
Status Failure
Total duration 38s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

9 errors
lint: utils/audio/info.go#L29
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
lint: message/build.go#L67
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
lint: client/operation.go#L851
var-naming: method parameter resId should be resID (revive)
lint: client/listener.go#L348
decodeKickNTPacket - result 0 (any) is always nil (unparam)
lint: client/sign/http.go#L124
response body must be closed (bodyclose)
lint: client/sign/http.go#L130
response body must be closed (bodyclose)
lint: client/operation.go#L1170
response body must be closed (bodyclose)
lint: client/internal/network/conn.go#L65
param len has same name as predeclared identifier (predeclared)
lint
issues found