FrostFS API Golang repository contains implementation of core FrostFS structures that can be used for integration with FrostFS.
Find a file
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
.forgejo/workflows [#1316] go.mod: Bump go version to 1.22 2024-08-21 17:22:56 +03:00
.github [#14] Add Issue Template 2023-03-23 12:19:35 +03:00
accounting [#108] protogen: Distinguish between empty and nil messages 2024-08-27 11:02:18 +03:00
acl [#113] go.mod: Use range over int 2024-09-04 15:44:59 +03:00
ape [#107] Regenerate proto files 2024-08-26 14:36:19 +03:00
apemanager [#111] protogen: Emit slice of messages without a pointer 2024-08-28 11:53:08 +03:00
container [#112] container: Remove GetExtendedACL 2024-09-02 14:10:49 +03:00
docs Move to frostfs-api 2022-12-12 17:40:48 +03:00
lock/grpc [#111] protogen: Emit slice of messages without a pointer 2024-08-28 11:53:08 +03:00
netmap [#113] go.mod: Use range over int 2024-09-04 15:44:59 +03:00
object [#113] go.mod: Use range over int 2024-09-04 15:44:59 +03:00
refs [#113] go.mod: Use range over int 2024-09-04 15:44:59 +03:00
rpc [#112] container: Remove GetExtendedACL 2024-09-02 14:10:49 +03:00
session [#106] test: Generate correct data for tests 2024-08-30 13:37:29 +03:00
signature [#113] go.mod: Use range over int 2024-09-04 15:44:59 +03:00
status [#113] go.mod: Use range over int 2024-09-04 15:44:59 +03:00
tombstone [#106] test: Generate correct data for tests 2024-08-30 13:37:29 +03:00
util [#111] protogen: Emit slice of messages without a pointer 2024-08-28 11:53:08 +03:00
.gitattributes Simplify Makefile 2020-09-18 11:25:32 +03:00
.gitignore [#101] Remove usage of folder vendor 2024-08-08 17:38:49 +03:00
.golangci.yml [#96] .golangci.yml: Fix deprecated config options 2024-07-29 15:45:01 +03:00
.pre-commit-config.yaml [#113] pre-commit: Update golangci-lint to v1.60.3 2024-09-04 15:43:24 +03:00
CHANGELOG.md Release v2.16.0 2023-09-14 13:20:13 +03:00
CONTRIBUTING.md Rebranding 2022-12-09 13:41:35 +03:00
CREDITS.md Rebranding 2022-12-09 13:41:35 +03:00
go.mod [#1316] go.mod: Bump go version to 1.22 2024-08-21 17:22:56 +03:00
go.sum [#1316] go.mod: Bump go version to 1.22 2024-08-21 17:22:56 +03:00
LICENSE change license 2020-04-10 09:22:35 +03:00
Makefile [#107] Makefile: Generate standard protobuf bindings for tests 2024-08-26 14:36:19 +03:00
prepare.sh [#101] Fix make test 2024-08-09 09:35:25 +03:00
README.md Change logo 2023-01-08 00:00:59 +03:00

FrostFS

Low-level Golang API for FrostFS


Tests codecov Report GitHub release GitHub license

Overview

Go implementation of recent FrostFS API versions. For a more high-level SDK see FrostFS SDK.

Frostfs-Api compatibility

frostfs-api-go version supported frostfs-api versions
v2.14.x v2.14.0

Contributing

Feel free to contribute to this project after reading the contributing guidelines.

Before starting to work on a certain topic, create a new issue first, describing the feature/topic you are going to implement.

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details