plugeth/rpc
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
..
testdata
client_example_test.go
client_test.go
client.go all: simplify nested complexity and if blocks ending with a return statement (#21854) 2020-11-25 09:24:50 +01:00
constants_unix_nocgo.go
constants_unix.go
doc.go
endpoints.go trie, rpc, cmd/geth: fix tests on 32-bit and windows + minor rpc fixes (#21871) 2020-11-19 22:50:47 +01:00
errors.go
handler.go
http_test.go
http.go
inproc.go
ipc_js.go
ipc_unix.go
ipc_windows.go
ipc.go
json.go
metrics.go
server_test.go
server.go
service.go
stdio.go
subscription_test.go
subscription.go
testservice_test.go
types_test.go
types.go
websocket_test.go
websocket.go