neo-go/pkg/services/oracle
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
..
broadcaster *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
jsonpath *: make use of min/max where appropriate 2024-08-23 22:11:29 +03:00
neofs *: use multierror wrapping where possible 2024-03-05 13:54:10 +03:00
testdata *: regenerate all wallets with adjusted parameters 2024-03-01 19:19:03 +03:00
filter.go *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
filter_test.go *: improve for loop syntax 2024-08-30 21:45:18 +03:00
network.go *: use slices.Index/slices.Contains where appropriate 2024-08-27 08:24:52 +03:00
network_test.go *: use require.ErrorIs instead of require.True(t, error.Is()) 2023-05-04 17:03:47 +03:00
nodes.go *: use maps.Equal/slices.Equal where appropriate 2024-08-27 08:24:52 +03:00
oracle.go *: improve for loop syntax 2024-08-30 21:45:18 +03:00
oracle_test.go *: improve for loop syntax 2024-08-30 21:45:18 +03:00
request.go *: use slices.Index/slices.Contains where appropriate 2024-08-27 08:24:52 +03:00
request_test.go oracle: check response Content-Type 2021-07-12 13:13:48 +03:00
response.go native: autogenerate nativehashes package 2024-05-14 09:39:53 +03:00
transaction.go [#2442] English Check 2022-05-04 19:48:27 +03:00