neo-go/pkg/core/storage
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
..
dbconfig dbconfig: fix DBConfiguration description 2023-09-03 18:02:38 +01:00
dboper storage: move Operation into package of its own 2022-07-08 23:30:30 +03:00
boltdb_store.go storage: bytes.Clone(nil) == nil 2024-05-16 19:29:11 +03:00
boltdb_store_test.go core: close BoltDB on failed root bucket creation 2022-10-10 10:12:34 +03:00
leveldb_store.go core: allow RO mode for Bolt and Level 2022-10-07 15:56:29 +03:00
leveldb_store_test.go core: allow RO mode for Bolt and Level 2022-10-07 15:56:29 +03:00
memcached_store.go *: use slices package for sorting and searching 2024-08-27 12:29:44 +03:00
memcached_store_test.go *: improve for loop syntax 2024-08-30 21:45:18 +03:00
memory_store.go *: use slices package for sorting and searching 2024-08-27 12:29:44 +03:00
memory_store_test.go *: improve for loop syntax 2024-08-30 21:45:18 +03:00
store.go *: use slices.Concat where appropriate 2024-08-30 17:00:11 +03:00
store_test.go storage: move Operation into package of its own 2022-07-08 23:30:30 +03:00
store_type_test.go docs: fix supported database types 2022-10-07 15:56:34 +03:00
storeandbatch_test.go *: use slices package for sorting and searching 2024-08-27 12:29:44 +03:00