go-ethereum/console
Alex Prut c92faee66e
all: simplify nested complexity and if blocks ending with a return statement (#21854)
Changes:

    Simplify nested complexity
    If an if blocks ends with a return statement then remove the else nesting.

Most of the changes has also been reported in golint https://goreportcard.com/report/github.com/ethereum/go-ethereum#golint
2020-11-25 09:24:50 +01:00
..
prompt cmd/clef, signer/core: password input fixes (#20960) 2020-05-19 10:44:46 +02:00
testdata cmd, console: split off the console into a reusable package 2016-05-30 17:25:23 +03:00
bridge_test.go console: handle undefined + null in console funcs (#21160) 2020-06-02 18:06:22 +02:00
bridge.go all: simplify nested complexity and if blocks ending with a return statement (#21854) 2020-11-25 09:24:50 +01:00
console_test.go node: refactor package node (#21105) 2020-08-03 19:40:46 +02:00
console.go console: don't exit on ctrl-c, only on ctrl-d (#21660) 2020-10-20 10:56:51 +02:00