frostfs-api-go/acl
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
..
grpc [#111] protogen: Emit slice of messages without a pointer 2024-08-28 11:53:08 +03:00
test [#85] acl: Regenerate protobufs for Bearer token 2024-05-29 19:45:44 +03:00
bench_test.go [#113] go.mod: Use range over int 2024-09-04 15:44:59 +03:00
convert.go [#111] protogen: Emit slice of messages without a pointer 2024-08-28 11:53:08 +03:00
filters.go Add v2 version to go module name 2021-11-17 15:29:33 +03:00
json.go [#85] acl: Regenerate protobufs for Bearer token 2024-05-29 19:45:44 +03:00
marshal.go [#85] acl: Regenerate protobufs for Bearer token 2024-05-29 19:45:44 +03:00
message_test.go Rename package name 2023-03-07 13:42:36 +03:00
string.go Rename package name 2023-03-07 13:42:36 +03:00
types.go [#85] acl: Regenerate protobufs for Bearer token 2024-05-29 19:45:44 +03:00