neo-go/pkg/services/rpcsrv/params
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
..
param.go rpcsrv: support Map parameter in invokefunction RPC handler 2024-02-28 15:54:33 +03:00
param_test.go rpcsrv: support Map parameter in invokefunction RPC handler 2024-02-28 15:54:33 +03:00
params.go *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
params_test.go *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
tx_builder_test.go rpcsrv: support Map parameter in invokefunction RPC handler 2024-02-28 15:54:33 +03:00
txBuilder.go *: return errors.ErrUnsupported where appropriate 2024-08-27 12:51:12 +03:00
types.go rpc: merge response and request under pkg/neorpc 2022-07-25 11:57:53 +03:00
types_test.go *: improve for loop syntax 2024-08-30 21:45:18 +03:00