frostfs-node/pkg/morph/event
Ekaterina Lebedeva a685fcdc96
All checks were successful
DCO action / DCO (pull_request) Successful in 2m41s
Tests and linters / Run gofumpt (pull_request) Successful in 2m32s
Vulncheck / Vulncheck (pull_request) Successful in 2m38s
Build / Build Components (1.23) (pull_request) Successful in 3m0s
Build / Build Components (1.22) (pull_request) Successful in 3m3s
Pre-commit hooks / Pre-commit (pull_request) Successful in 3m33s
Tests and linters / Tests (1.22) (pull_request) Successful in 3m34s
Tests and linters / Tests (1.23) (pull_request) Successful in 3m36s
Tests and linters / Staticcheck (pull_request) Successful in 3m35s
Tests and linters / Lint (pull_request) Successful in 4m18s
Tests and linters / Tests with -race (pull_request) Successful in 4m20s
Tests and linters / gopls check (pull_request) Successful in 4m25s
[#1317] go.mod: Use range over int
Since Go 1.22 a "for" statement with a "range" clause is able
to iterate through integer values from zero to an upper limit.

gopatch script:
@@
var i, e expression
@@
-for i := 0; i <= e - 1; i++ {
+for i := range e {
    ...
}

@@
var i, e expression
@@
-for i := 0; i <= e; i++ {
+for i := range e + 1 {
    ...
}

@@
var i, e expression
@@
-for i := 0; i < e; i++ {
+for i := range e {
    ...
}

Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
2024-09-03 13:00:54 +03:00
..
balance Rename package name 2023-03-07 16:38:26 +03:00
container [#303] ir: Use pub key when validate container deletion 2023-06-20 08:02:48 +00:00
frostfs [#755] morph: Drop FrostFSID contract usage 2023-12-12 12:36:34 +03:00
netmap [#337] netmap: Remove unused events 2023-05-12 09:19:38 +00:00
rolemanagement Rename package name 2023-03-07 16:38:26 +03:00
handlers.go [#770] pkg/morph/event: Add notary notifications support 2021-09-07 12:55:01 +03:00
listener.go [#1227] morph/event: Release ants.Pool on listener stopping 2024-07-04 10:55:05 +00:00
listener_test.go [#895] test: Fix NewLogger arguments list 2024-01-11 12:32:09 +00:00
notary.go [#807] morph/event/container: Add delete notary support 2021-09-09 18:37:45 +03:00
notary_preparator.go [#607] *: Remove redundant if on error returns 2023-08-17 16:50:02 +00:00
notary_preparator_test.go [#1317] go.mod: Use range over int 2024-09-03 13:00:54 +03:00
notification.go [#770] pkg/morph/event: Add notary notifications support 2021-09-07 12:55:01 +03:00
opcodes.go [#907] morph/event: Implement Op to string converter 2021-10-18 11:54:34 +03:00
opcodes_test.go [#822] moprh/event: Add parsers from Op struct 2021-09-13 10:32:43 +03:00
parsers.go [#1637] go.mod: Update neo-go to v0.99.1 2022-07-28 20:11:45 +03:00
utils.go [#772] node: Apply gofumpt 2023-10-31 17:03:03 +03:00
utils_test.go [#296] morph: Add parser unit tests 2023-05-10 09:40:26 +03:00