neo-go/cli
Roman Khimov 1b83dc2476 *: improve for loop syntax
Mostly it's about Go 1.22+ syntax with ranging over integers, but it also
prefers ranging over slices where possible (it makes code a little better to
read).

Notice that we have a number of dangerous loops where slices are mutated
during loop execution, many of these can't be converted since we need proper
length evalutation at every iteration.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
2024-08-30 21:45:18 +03:00
..
app cli: upgrade urfave lib to v2 2024-07-12 11:58:12 +03:00
cmdargs cli: add Required field for flags 2024-07-12 11:58:12 +03:00
flags cli: upgrade urfave lib to v2 2024-07-12 11:58:12 +03:00
input *: bump minimum supported go version 2022-08-08 13:59:32 +03:00
nep_test *: improve for loop syntax 2024-08-30 21:45:18 +03:00
options cli: add Required field for flags 2024-07-12 11:58:12 +03:00
paramcontext context: define a constant for transaction context type 2022-09-08 14:33:04 +03:00
query *: use cmp.Or where appropriate 2024-08-30 17:00:11 +03:00
server *: use slices.Clone instead of make/copy 2024-08-24 22:41:48 +03:00
smartcontract go.mod: update to Go 1.22+ 2024-08-30 17:00:11 +03:00
testdata wallet: do not store deployed contract script inside Contract account 2024-06-05 15:27:20 +03:00
txctx cli: upgrade urfave lib to v2 2024-07-12 11:58:12 +03:00
util *: make use of min/max where appropriate 2024-08-23 22:11:29 +03:00
vm go.mod: update to Go 1.22+ 2024-08-30 17:00:11 +03:00
wallet *: improve for loop syntax 2024-08-30 21:45:18 +03:00
.gitignore Better error messages (#24) 2018-02-24 10:10:45 +01:00
main.go cli: don't panic when handling error 2024-07-12 11:58:12 +03:00