Migration from the drand v1.5 codebase to its own repo #4
Annotations
10 errors and 5 warnings
lint:
client/test/result/mock/result.go#L84
Error return value of `binary.Write` is not checked (errcheck)
|
lint:
gossip-relay/main.go#L215
Error return value of `cctx.Set` is not checked (errcheck)
|
lint:
client/test/http/mock/httpserver.go#L65
Error return value of `httpServer.Serve` is not checked (errcheck)
|
lint:
client/test/http/mock/httpserver.go#L68
Error return value of `httpServer.Shutdown` is not checked (errcheck)
|
lint:
internal/cli.go#L132
use of `fmt.Println` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
|
lint:
internal/cli.go#L145
use of `fmt.Println` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
|
lint:
gossip-relay/main.go#L36
use of `fmt.Printf` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
|
lint:
gossip-relay/main.go#L41
use of `fmt.Printf` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
|
lint:
gossip-relay/main.go#L89
use of `fmt.Printf` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
|
lint:
gossip-relay/main.go#L244
use of `fmt.Printf` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
|
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/drand-cli/drand-cli. Supported file pattern: go.sum
|
lint:
client/lp2p/client.go#L221
empty-block: this block is empty, you can remove it (revive)
|
lint:
client/lp2p/validator.go#L22
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
internal/cli.go#L74
unused-parameter: parameter 'context' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
gossip-relay/main.go#L35
unused-parameter: parameter 'c' seems to be unused, consider removing or renaming it as _ (revive)
|