fix typos (#181) #178
Annotations
10 errors and 11 warnings
golangci-lint:
command.go#L286
Error return value of `json.Unmarshal` is not checked (errcheck)
|
golangci-lint:
main.go#L718
Error return value of `server.ListenAndServe` is not checked (errcheck)
|
golangci-lint:
main.go#L722
Error return value of `http.ListenAndServe` is not checked (errcheck)
|
golangci-lint:
command.go#L52
use of `fmt.Printf` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
|
golangci-lint:
command.go#L53
use of `fmt.Printf` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
|
golangci-lint:
command.go#L54
use of `fmt.Printf` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
|
golangci-lint:
command.go#L103
use of `fmt.Print` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
|
golangci-lint:
command.go#L204
use of `fmt.Println` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
|
golangci-lint:
command.go#L304
use of `fmt.Println` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
|
golangci-lint:
command.go#L388
use of `fmt.Println` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
|
The following actions use a deprecated Node.js version and will be forced to run on node20: golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
golangci-lint:
command.go#L1062
unused-parameter: parameter 'deposit' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
command.go#L174
var-naming: var networkId should be networkID (revive)
|
golangci-lint:
command.go#L641
var-naming: var networkId should be networkID (revive)
|
golangci-lint:
crypto/signature.go#L66
receiver-naming: receiver name publicKey should be consistent with previous receiver name privateKey for Key (revive)
|
golangci-lint:
crypto/signature.go#L81
receiver-naming: receiver name publicKey should be consistent with previous receiver name privateKey for Key (revive)
|
golangci-lint:
crypto/rand.go#L32
increment-decrement: should replace set[b] += 1 with set[b]++ (revive)
|
golangci-lint:
crypto/blake2b_test.go#L18
unexported-return: exported func NewBlake2bXOF returns unexported type *crypto.xof, which can be annoying to use (revive)
|
golangci-lint:
crypto/rand.go#L10
unexported-return: exported func RandReader returns unexported type *crypto.randReader, which can be annoying to use (revive)
|
golangci-lint:
p2p/peer.go#L113
receiver-naming: receiver name p should be consistent with previous receiver name me for Peer (revive)
|
golangci-lint:
p2p/peer.go#L384
receiver-naming: receiver name p should be consistent with previous receiver name me for Peer (revive)
|
Loading