frostfs-api-go/signature
Ekaterina Lebedeva bd588fa2e5 [#113] 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-04 15:44:59 +03:00
..
body.go [#112] container: Remove GetExtendedACL 2024-09-02 14:10:49 +03:00
marshaller.go [#3] signature: Refactor sign and verify 2023-03-10 13:36:26 +03:00
sign.go [#28] Replace interface{} with any 2023-05-15 17:25:04 +03:00
sign_test.go [#113] go.mod: Use range over int 2024-09-04 15:44:59 +03:00
verify.go [#28] Replace interface{} with any 2023-05-15 17:25:04 +03:00