frostfs-api-go-pogpp/object
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 [#106] test: Generate correct data for tests 2024-08-30 13:37:29 +03:00
attributes.go [#27] *: Resolve godot linter warnings 2023-05-03 14:15:56 +03:00
attributes_test.go [#68] Makefile: Use gofumpt for formatting 2024-03-14 10:31:58 +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 [#82] object: Add FilterHeaderECParent filter for v2 2024-05-13 17:03:55 +03:00
json.go [#73] object: Implement Get\Head requests for EC object 2024-04-22 18:14:50 +03:00
lock.go [#111] protogen: Emit slice of messages without a pointer 2024-08-28 11:53:08 +03:00
lock_test.go Rename package name 2023-03-07 13:42:36 +03:00
marshal.go [#104] object: Add getters for PatchRequestBodyPatch 2024-08-13 18:51:51 +03:00
message_test.go [#94] object: Generate protobufs for Patch method 2024-07-29 08:55:14 +00:00
status.go Rename package name 2023-03-07 13:42:36 +03:00
status_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 [#110] object: Add getter and setter for PatchResponseBody 2024-08-27 13:46:00 +03:00