neo-go/pkg
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
..
compiler *: improve for loop syntax 2024-08-30 21:45:18 +03:00
config *: use slices package for sorting and searching 2024-08-27 12:29:44 +03:00
consensus *: improve for loop syntax 2024-08-30 21:45:18 +03:00
core *: improve for loop syntax 2024-08-30 21:45:18 +03:00
crypto *: improve for loop syntax 2024-08-30 21:45:18 +03:00
encoding *: improve for loop syntax 2024-08-30 21:45:18 +03:00
interop go.mod: update to Go 1.22+ 2024-08-30 17:00:11 +03:00
io *: improve for loop syntax 2024-08-30 21:45:18 +03:00
neorpc *: improve for loop syntax 2024-08-30 21:45:18 +03:00
neotest *: improve for loop syntax 2024-08-30 21:45:18 +03:00
network *: improve for loop syntax 2024-08-30 21:45:18 +03:00
rpcclient *: improve for loop syntax 2024-08-30 21:45:18 +03:00
services *: improve for loop syntax 2024-08-30 21:45:18 +03:00
smartcontract *: improve for loop syntax 2024-08-30 21:45:18 +03:00
util *: improve for loop syntax 2024-08-30 21:45:18 +03:00
vm *: improve for loop syntax 2024-08-30 21:45:18 +03:00
wallet *: use slices.Index/slices.Contains where appropriate 2024-08-27 08:24:52 +03:00