plugeth/cmd/utils
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
..
cmd.go node: refactor package node (#21105) 2020-08-03 19:40:46 +02:00
customflags_test.go cmd/utils: fix path expansion on windows 2015-08-06 17:18:59 +02:00
customflags.go cmd/clef, cmd/geth: use SplitAndTrim from cmd/utils (#21579) 2020-09-22 23:22:54 +02:00
flags_legacy.go node: refactor package node (#21105) 2020-08-03 19:40:46 +02:00
flags_test.go cmd/utils: allow for multiple influxdb tags (#18520) 2019-01-29 09:14:24 +01:00
flags.go all: simplify nested complexity and if blocks ending with a return statement (#21854) 2020-11-25 09:24:50 +01:00
prompt_test.go cmd: abstract getPassPhrase functions into one (#21219) 2020-06-30 09:56:40 +02:00
prompt.go cmd: abstract getPassPhrase functions into one (#21219) 2020-06-30 09:56:40 +02:00