frostfs-sdk-go/object
Ekaterina Lebedeva 46ee543899 [#265] 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 12:37:46 +03:00
..
erasurecode [#265] go.mod: Use range over int 2024-09-04 12:37:46 +03:00
id [#265] go.mod: Use range over int 2024-09-04 12:37:46 +03:00
patcher [#252] patcher: Fix applying patch from the same offset 2024-08-13 18:58:21 +03:00
relations Rename package name 2023-03-07 15:47:21 +03:00
test Rename package name 2023-03-07 15:47:21 +03:00
transformer [#265] go.mod: Use range over int 2024-09-04 12:37:46 +03:00
attribute.go Rename package name 2023-03-07 15:47:21 +03:00
attribute_test.go Rename package name 2023-03-07 15:47:21 +03:00
ecinfo.go [#214] object: Implement Get\Head requests for EC object 2024-04-24 11:07:26 +03:00
erasure_code.go [#224] object: Introduce parent attributes in EC-header 2024-05-31 16:20:48 +03:00
error.go [#214] object: Implement Get\Head requests for EC object 2024-04-24 11:07:26 +03:00
error_test.go [#214] object: Implement Get\Head requests for EC object 2024-04-24 11:07:26 +03:00
fmt.go Rename package name 2023-03-07 15:47:21 +03:00
fmt_test.go [#190] Refactor cryptographic functionality 2022-04-19 12:55:11 +03:00
lock.go Rename package name 2023-03-07 15:47:21 +03:00
lock_test.go Rename package name 2023-03-07 15:47:21 +03:00
object.go [#205] object: Initial EC implementation 2024-03-22 10:14:12 +00:00
object_test.go [#190] sdk-go: Pass user.ID by value 2023-11-22 19:21:20 +03:00
patch.go [#247] object: Introduce Patch type 2024-08-05 12:32:14 +00:00
patch_test.go [#247] object: Introduce Patch type 2024-08-05 12:32:14 +00:00
range.go Rename package name 2023-03-07 15:47:21 +03:00
range_test.go Rename package name 2023-03-07 15:47:21 +03:00
raw.go Rename package name 2023-03-07 15:47:21 +03:00
raw_test.go [#52] Remove storage groups and audit 2023-05-03 08:20:37 +00:00
search.go [#223] object: Introduce ec_parent search filter 2024-05-17 15:03:40 +03:00
search_test.go [#223] object: Introduce ec_parent search filter 2024-05-17 15:03:40 +03:00
splitid.go Move to frostfs-sdk-go 2022-12-14 09:59:29 +03:00
splitid_test.go Rename package name 2023-03-07 15:47:21 +03:00
splitinfo.go Rename package name 2023-03-07 15:47:21 +03:00
splitinfo_test.go Rename package name 2023-03-07 15:47:21 +03:00
tombstone.go Rename package name 2023-03-07 15:47:21 +03:00
tombstone_test.go [#265] go.mod: Use range over int 2024-09-04 12:37:46 +03:00
type.go [#52] Remove storage groups and audit 2023-05-03 08:20:37 +00:00
type_test.go [#52] Remove storage groups and audit 2023-05-03 08:20:37 +00:00
wellknown_attributes.go [#215] object: Add well-known FilePath attribute 2022-09-06 17:21:37 +04:00