neo-go/internal
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
..
basicchain *: improve for loop syntax 2024-08-30 21:45:18 +03:00
contracts go.mod: update to Go 1.22+ 2024-08-30 17:00:11 +03:00
fakechain state: drop NativeContract, fix #3430 2024-05-16 18:46:46 +03:00
keytestcases core: rename Neo.Crypto.CheckSig interop 2021-05-11 18:37:55 +03:00
random *: stop using math/rand 2024-08-30 17:00:11 +03:00
testchain *: improve for loop syntax 2024-08-30 21:45:18 +03:00
testcli *: improve for loop syntax 2024-08-30 21:45:18 +03:00
testserdes *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
versionutil internal: avoid race access to config.Version by tests 2023-10-10 11:59:53 +03:00