diff --git a/CHANGELOG.md b/CHANGELOG.md index f2717079..559435cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -189,24 +189,24 @@ associated with owner id Initial public release -[0.2.0]: https://github.com/nspcc-dev/neofs-api/compare/v0.1.0...v0.2.0 -[0.2.1]: https://github.com/nspcc-dev/neofs-api/compare/v0.2.0...v0.2.1 -[0.2.2]: https://github.com/nspcc-dev/neofs-api/compare/v0.2.1...v0.2.2 -[0.2.3]: https://github.com/nspcc-dev/neofs-api/compare/v0.2.2...v0.2.3 -[0.2.4]: https://github.com/nspcc-dev/neofs-api/compare/v0.2.3...v0.2.4 -[0.2.5]: https://github.com/nspcc-dev/neofs-api/compare/v0.2.4...v0.2.5 -[0.2.6]: https://github.com/nspcc-dev/neofs-api/compare/v0.2.5...v0.2.6 -[0.2.7]: https://github.com/nspcc-dev/neofs-api/compare/v0.2.6...v0.2.7 -[0.2.8]: https://github.com/nspcc-dev/neofs-api/compare/v0.2.7...v0.2.8 -[0.2.9]: https://github.com/nspcc-dev/neofs-api/compare/v0.2.8...v0.2.9 -[0.2.10]: https://github.com/nspcc-dev/neofs-api/compare/v0.2.9...v0.2.10 -[0.2.11]: https://github.com/nspcc-dev/neofs-api/compare/v0.2.10...v0.2.11 -[0.2.12]: https://github.com/nspcc-dev/neofs-api/compare/v0.2.11...v0.2.12 -[0.2.13]: https://github.com/nspcc-dev/neofs-api/compare/v0.2.12...v0.2.13 -[0.2.14]: https://github.com/nspcc-dev/neofs-api/compare/v0.2.13...v0.2.14 -[0.3.0]: https://github.com/nspcc-dev/neofs-api/compare/v0.2.14...v0.3.0 -[0.3.1]: https://github.com/nspcc-dev/neofs-api/compare/v0.3.0...v0.3.1 -[0.3.2]: https://github.com/nspcc-dev/neofs-api/compare/v0.3.1...v0.3.2 -[0.4.0]: https://github.com/nspcc-dev/neofs-api/compare/v0.3.2...v0.4.0 -[0.4.1]: https://github.com/nspcc-dev/neofs-api/compare/v0.4.0...v0.4.1 -[0.4.2]: https://github.com/nspcc-dev/neofs-api/compare/v0.4.1...v0.4.2 +[0.2.0]: https://github.com/nspcc-dev/neofs-api-go/compare/v0.1.0...v0.2.0 +[0.2.1]: https://github.com/nspcc-dev/neofs-api-go/compare/v0.2.0...v0.2.1 +[0.2.2]: https://github.com/nspcc-dev/neofs-api-go/compare/v0.2.1...v0.2.2 +[0.2.3]: https://github.com/nspcc-dev/neofs-api-go/compare/v0.2.2...v0.2.3 +[0.2.4]: https://github.com/nspcc-dev/neofs-api-go/compare/v0.2.3...v0.2.4 +[0.2.5]: https://github.com/nspcc-dev/neofs-api-go/compare/v0.2.4...v0.2.5 +[0.2.6]: https://github.com/nspcc-dev/neofs-api-go/compare/v0.2.5...v0.2.6 +[0.2.7]: https://github.com/nspcc-dev/neofs-api-go/compare/v0.2.6...v0.2.7 +[0.2.8]: https://github.com/nspcc-dev/neofs-api-go/compare/v0.2.7...v0.2.8 +[0.2.9]: https://github.com/nspcc-dev/neofs-api-go/compare/v0.2.8...v0.2.9 +[0.2.10]: https://github.com/nspcc-dev/neofs-api-go/compare/v0.2.9...v0.2.10 +[0.2.11]: https://github.com/nspcc-dev/neofs-api-go/compare/v0.2.10...v0.2.11 +[0.2.12]: https://github.com/nspcc-dev/neofs-api-go/compare/v0.2.11...v0.2.12 +[0.2.13]: https://github.com/nspcc-dev/neofs-api-go/compare/v0.2.12...v0.2.13 +[0.2.14]: https://github.com/nspcc-dev/neofs-api-go/compare/v0.2.13...v0.2.14 +[0.3.0]: https://github.com/nspcc-dev/neofs-api-go/compare/v0.2.14...v0.3.0 +[0.3.1]: https://github.com/nspcc-dev/neofs-api-go/compare/v0.3.0...v0.3.1 +[0.3.2]: https://github.com/nspcc-dev/neofs-api-go/compare/v0.3.1...v0.3.2 +[0.4.0]: https://github.com/nspcc-dev/neofs-api-go/compare/v0.3.2...v0.4.0 +[0.4.1]: https://github.com/nspcc-dev/neofs-api-go/compare/v0.4.0...v0.4.1 +[0.4.2]: https://github.com/nspcc-dev/neofs-api-go/compare/v0.4.1...v0.4.2 diff --git a/Makefile b/Makefile index a20243e6..84583ff9 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -PROTO_VERSION=master -PROTO_URL=https://bitbucket.org/nspcc-dev/neofs-proto/get/$(PROTO_VERSION).tar.gz +PROTO_VERSION=v0.5.0 +PROTO_URL=https://github.com/nspcc-dev/neofs-api/archive/$(PROTO_VERSION).tar.gz B=\033[0;1m G=\033[0;92m diff --git a/README.md b/README.md index 1320e72e..8820d58d 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # NeoFS API -![Go](https://github.com/nspcc-dev/neofs-api/workflows/Go/badge.svg) -[![codecov](https://codecov.io/gh/nspcc-dev/neofs-api/branch/master/graph/badge.svg)](https://codecov.io/gh/nspcc-dev/neofs-api) -[![Report](https://goreportcard.com/badge/github.com/nspcc-dev/neofs-api)](https://goreportcard.com/report/github.com/nspcc-dev/neofs-api) -[![GitHub release](https://img.shields.io/github/release/nspcc-dev/neofs-api.svg)](https://github.com/nspcc-dev/neofs-api) +![Go](https://github.com/nspcc-dev/neofs-api-go/workflows/Go/badge.svg) +[![codecov](https://codecov.io/gh/nspcc-dev/neofs-api-go/branch/master/graph/badge.svg)](https://codecov.io/gh/nspcc-dev/neofs-api-go) +[![Report](https://goreportcard.com/badge/github.com/nspcc-dev/neofs-api-go)](https://goreportcard.com/report/github.com/nspcc-dev/neofs-api-go) +[![GitHub release](https://img.shields.io/github/release/nspcc-dev/neofs-api.svg)](https://github.com/nspcc-dev/neofs-api-go) ![GitHub license](https://img.shields.io/github/license/nspcc-dev/neofs-api.svg?style=popout) --- diff --git a/accounting/service.go b/accounting/service.go index 5f8f889a..229707fc 100644 --- a/accounting/service.go +++ b/accounting/service.go @@ -1,9 +1,9 @@ package accounting import ( - "github.com/nspcc-dev/neofs-api/decimal" - "github.com/nspcc-dev/neofs-api/internal" - "github.com/nspcc-dev/neofs-api/refs" + "github.com/nspcc-dev/neofs-api-go/decimal" + "github.com/nspcc-dev/neofs-api-go/internal" + "github.com/nspcc-dev/neofs-api-go/refs" ) type ( diff --git a/accounting/service.pb.go b/accounting/service.pb.go index 5b485cea..8dd146b3 100644 Binary files a/accounting/service.pb.go and b/accounting/service.pb.go differ diff --git a/accounting/service.proto b/accounting/service.proto index 12fca586..d1540c4d 100644 --- a/accounting/service.proto +++ b/accounting/service.proto @@ -1,6 +1,6 @@ syntax = "proto3"; package accounting; -option go_package = "github.com/nspcc-dev/neofs-api/accounting"; +option go_package = "github.com/nspcc-dev/neofs-api-go/accounting"; option csharp_namespace = "NeoFS.API.Accounting"; import "service/meta.proto"; diff --git a/accounting/types.go b/accounting/types.go index a100cf2f..6a3b2e29 100644 --- a/accounting/types.go +++ b/accounting/types.go @@ -7,10 +7,10 @@ import ( "reflect" "github.com/mr-tron/base58" - "github.com/nspcc-dev/neofs-api/chain" - "github.com/nspcc-dev/neofs-api/decimal" - "github.com/nspcc-dev/neofs-api/internal" - "github.com/nspcc-dev/neofs-api/refs" + "github.com/nspcc-dev/neofs-api-go/chain" + "github.com/nspcc-dev/neofs-api-go/decimal" + "github.com/nspcc-dev/neofs-api-go/internal" + "github.com/nspcc-dev/neofs-api-go/refs" crypto "github.com/nspcc-dev/neofs-crypto" "github.com/pkg/errors" ) diff --git a/accounting/types.pb.go b/accounting/types.pb.go index af22ec8b..576ba1f7 100644 Binary files a/accounting/types.pb.go and b/accounting/types.pb.go differ diff --git a/accounting/types.proto b/accounting/types.proto index 1c0cd570..02fb691b 100644 --- a/accounting/types.proto +++ b/accounting/types.proto @@ -1,6 +1,6 @@ syntax = "proto3"; package accounting; -option go_package = "github.com/nspcc-dev/neofs-api/accounting"; +option go_package = "github.com/nspcc-dev/neofs-api-go/accounting"; option csharp_namespace = "NeoFS.API.Accounting"; import "decimal/decimal.proto"; diff --git a/accounting/types_test.go b/accounting/types_test.go index 14aee3b7..df81b46d 100644 --- a/accounting/types_test.go +++ b/accounting/types_test.go @@ -5,9 +5,9 @@ import ( "testing" "github.com/mr-tron/base58" - "github.com/nspcc-dev/neofs-api/chain" - "github.com/nspcc-dev/neofs-api/decimal" - "github.com/nspcc-dev/neofs-api/refs" + "github.com/nspcc-dev/neofs-api-go/chain" + "github.com/nspcc-dev/neofs-api-go/decimal" + "github.com/nspcc-dev/neofs-api-go/refs" "github.com/nspcc-dev/neofs-crypto/test" "github.com/stretchr/testify/require" ) diff --git a/accounting/withdraw.go b/accounting/withdraw.go index 735fb85b..1077395e 100644 --- a/accounting/withdraw.go +++ b/accounting/withdraw.go @@ -3,7 +3,7 @@ package accounting import ( "encoding/binary" - "github.com/nspcc-dev/neofs-api/refs" + "github.com/nspcc-dev/neofs-api-go/refs" ) type ( diff --git a/accounting/withdraw.pb.go b/accounting/withdraw.pb.go index d8a8eebb..e0825f57 100644 Binary files a/accounting/withdraw.pb.go and b/accounting/withdraw.pb.go differ diff --git a/accounting/withdraw.proto b/accounting/withdraw.proto index ee23b5d4..080a100b 100644 --- a/accounting/withdraw.proto +++ b/accounting/withdraw.proto @@ -1,6 +1,6 @@ syntax = "proto3"; package accounting; -option go_package = "github.com/nspcc-dev/neofs-api/accounting"; +option go_package = "github.com/nspcc-dev/neofs-api-go/accounting"; option csharp_namespace = "NeoFS.API.Accounting"; import "service/meta.proto"; diff --git a/bootstrap/service.go b/bootstrap/service.go index e0687283..929d9b34 100644 --- a/bootstrap/service.go +++ b/bootstrap/service.go @@ -1,7 +1,7 @@ package bootstrap import ( - "github.com/nspcc-dev/neofs-api/service" + "github.com/nspcc-dev/neofs-api-go/service" ) // NodeType type alias. diff --git a/bootstrap/service.pb.go b/bootstrap/service.pb.go index fadb4648..d1797ccd 100644 Binary files a/bootstrap/service.pb.go and b/bootstrap/service.pb.go differ diff --git a/bootstrap/service.proto b/bootstrap/service.proto index db43bf6e..e37c878d 100644 --- a/bootstrap/service.proto +++ b/bootstrap/service.proto @@ -1,6 +1,6 @@ syntax = "proto3"; package bootstrap; -option go_package = "github.com/nspcc-dev/neofs-api/bootstrap"; +option go_package = "github.com/nspcc-dev/neofs-api-go/bootstrap"; option csharp_namespace = "NeoFS.API.Bootstrap"; import "service/meta.proto"; diff --git a/bootstrap/types.go b/bootstrap/types.go index 6c21b732..690d81c7 100644 --- a/bootstrap/types.go +++ b/bootstrap/types.go @@ -7,7 +7,7 @@ import ( "strings" "github.com/golang/protobuf/proto" - "github.com/nspcc-dev/neofs-api/object" + "github.com/nspcc-dev/neofs-api-go/object" ) type ( diff --git a/bootstrap/types.pb.go b/bootstrap/types.pb.go index db83671e..fcd8848b 100644 Binary files a/bootstrap/types.pb.go and b/bootstrap/types.pb.go differ diff --git a/bootstrap/types.proto b/bootstrap/types.proto index cbce3792..4ef0fff5 100644 --- a/bootstrap/types.proto +++ b/bootstrap/types.proto @@ -1,6 +1,6 @@ syntax = "proto3"; package bootstrap; -option go_package = "github.com/nspcc-dev/neofs-api/bootstrap"; +option go_package = "github.com/nspcc-dev/neofs-api-go/bootstrap"; option csharp_namespace = "NeoFS.API.Bootstrap"; import "github.com/gogo/protobuf/gogoproto/gogo.proto"; diff --git a/chain/address.go b/chain/address.go index bdc8a657..e10301ff 100644 --- a/chain/address.go +++ b/chain/address.go @@ -7,7 +7,7 @@ import ( "encoding/hex" "github.com/mr-tron/base58" - "github.com/nspcc-dev/neofs-api/internal" + "github.com/nspcc-dev/neofs-api-go/internal" crypto "github.com/nspcc-dev/neofs-crypto" "github.com/pkg/errors" "golang.org/x/crypto/ripemd160" diff --git a/container/service.go b/container/service.go index 01d88fa8..8eb9ba6e 100644 --- a/container/service.go +++ b/container/service.go @@ -4,8 +4,8 @@ import ( "bytes" "encoding/binary" - "github.com/nspcc-dev/neofs-api/internal" - "github.com/nspcc-dev/neofs-api/refs" + "github.com/nspcc-dev/neofs-api-go/internal" + "github.com/nspcc-dev/neofs-api-go/refs" "github.com/pkg/errors" ) diff --git a/container/service.pb.go b/container/service.pb.go index b8871215..8698925e 100644 Binary files a/container/service.pb.go and b/container/service.pb.go differ diff --git a/container/service.proto b/container/service.proto index b287a226..bccf9246 100644 --- a/container/service.proto +++ b/container/service.proto @@ -1,6 +1,6 @@ syntax = "proto3"; package container; -option go_package = "github.com/nspcc-dev/neofs-api/container"; +option go_package = "github.com/nspcc-dev/neofs-api-go/container"; option csharp_namespace = "NeoFS.API.Container"; import "service/meta.proto"; diff --git a/container/types.go b/container/types.go index b7189074..21fc0d1e 100644 --- a/container/types.go +++ b/container/types.go @@ -4,8 +4,8 @@ import ( "bytes" "github.com/google/uuid" - "github.com/nspcc-dev/neofs-api/internal" - "github.com/nspcc-dev/neofs-api/refs" + "github.com/nspcc-dev/neofs-api-go/internal" + "github.com/nspcc-dev/neofs-api-go/refs" "github.com/nspcc-dev/neofs-crypto/test" "github.com/nspcc-dev/netmap" "github.com/pkg/errors" diff --git a/container/types.pb.go b/container/types.pb.go index cc0f736b..bfb7fa7a 100644 Binary files a/container/types.pb.go and b/container/types.pb.go differ diff --git a/container/types.proto b/container/types.proto index 775d84c3..a0d035dd 100644 --- a/container/types.proto +++ b/container/types.proto @@ -1,6 +1,6 @@ syntax = "proto3"; package container; -option go_package = "github.com/nspcc-dev/neofs-api/container"; +option go_package = "github.com/nspcc-dev/neofs-api-go/container"; option csharp_namespace = "NeoFS.API.Container"; import "github.com/nspcc-dev/netmap/selector.proto"; diff --git a/container/types_test.go b/container/types_test.go index 0a20d54a..1ccc00bb 100644 --- a/container/types_test.go +++ b/container/types_test.go @@ -4,7 +4,7 @@ import ( "testing" "github.com/gogo/protobuf/proto" - "github.com/nspcc-dev/neofs-api/refs" + "github.com/nspcc-dev/neofs-api-go/refs" "github.com/nspcc-dev/neofs-crypto/test" "github.com/nspcc-dev/netmap" "github.com/stretchr/testify/require" diff --git a/decimal/decimal.pb.go b/decimal/decimal.pb.go index 60c01535..9108e615 100644 Binary files a/decimal/decimal.pb.go and b/decimal/decimal.pb.go differ diff --git a/decimal/decimal.proto b/decimal/decimal.proto index d21ce1be..f3d5c00f 100644 --- a/decimal/decimal.proto +++ b/decimal/decimal.proto @@ -1,6 +1,6 @@ syntax = "proto3"; package decimal; -option go_package = "github.com/nspcc-dev/neofs-api/decimal"; +option go_package = "github.com/nspcc-dev/neofs-api-go/decimal"; option csharp_namespace = "NeoFS.API.Decimal"; import "github.com/gogo/protobuf/gogoproto/gogo.proto"; diff --git a/go.mod b/go.mod index 161343ff..50c24adc 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ -module github.com/nspcc-dev/neofs-api +module github.com/nspcc-dev/neofs-api-go -go 1.13 +go 1.14 require ( github.com/gogo/protobuf v1.3.1 diff --git a/hash/hash.go b/hash/hash.go index de02491b..9d752784 100644 --- a/hash/hash.go +++ b/hash/hash.go @@ -4,7 +4,7 @@ import ( "bytes" "github.com/mr-tron/base58" - "github.com/nspcc-dev/neofs-api/internal" + "github.com/nspcc-dev/neofs-api-go/internal" "github.com/nspcc-dev/tzhash/tz" "github.com/pkg/errors" ) diff --git a/object/extensions.go b/object/extensions.go index a4964137..6e577bd9 100644 --- a/object/extensions.go +++ b/object/extensions.go @@ -2,7 +2,7 @@ package object // todo: all extensions must be transferred to the separate util library -import "github.com/nspcc-dev/neofs-api/storagegroup" +import "github.com/nspcc-dev/neofs-api-go/storagegroup" // IsLinking checks if object has children links to another objects. // We have to check payload size because zero-object must have zero diff --git a/object/service.go b/object/service.go index e75c9f25..589bd95d 100644 --- a/object/service.go +++ b/object/service.go @@ -1,11 +1,11 @@ package object import ( - "github.com/nspcc-dev/neofs-api/hash" - "github.com/nspcc-dev/neofs-api/internal" - "github.com/nspcc-dev/neofs-api/refs" - "github.com/nspcc-dev/neofs-api/service" - "github.com/nspcc-dev/neofs-api/session" + "github.com/nspcc-dev/neofs-api-go/hash" + "github.com/nspcc-dev/neofs-api-go/internal" + "github.com/nspcc-dev/neofs-api-go/refs" + "github.com/nspcc-dev/neofs-api-go/service" + "github.com/nspcc-dev/neofs-api-go/session" ) type ( diff --git a/object/service.pb.go b/object/service.pb.go index 46891e2f..8502c8e3 100644 Binary files a/object/service.pb.go and b/object/service.pb.go differ diff --git a/object/service.proto b/object/service.proto index dbd2a809..2aa21fd7 100644 --- a/object/service.proto +++ b/object/service.proto @@ -1,6 +1,6 @@ syntax = "proto3"; package object; -option go_package = "github.com/nspcc-dev/neofs-api/object"; +option go_package = "github.com/nspcc-dev/neofs-api-go/object"; option csharp_namespace = "NeoFS.API.Object"; import "refs/types.proto"; diff --git a/object/sg.go b/object/sg.go index a51123b2..a75b9501 100644 --- a/object/sg.go +++ b/object/sg.go @@ -3,8 +3,8 @@ package object import ( "sort" - "github.com/nspcc-dev/neofs-api/refs" - "github.com/nspcc-dev/neofs-api/storagegroup" + "github.com/nspcc-dev/neofs-api-go/refs" + "github.com/nspcc-dev/neofs-api-go/storagegroup" ) // Here are defined getter functions for objects that contain storage group diff --git a/object/sg_test.go b/object/sg_test.go index ed657b78..716e9161 100644 --- a/object/sg_test.go +++ b/object/sg_test.go @@ -5,8 +5,8 @@ import ( "sort" "testing" - "github.com/nspcc-dev/neofs-api/hash" - "github.com/nspcc-dev/neofs-api/storagegroup" + "github.com/nspcc-dev/neofs-api-go/hash" + "github.com/nspcc-dev/neofs-api-go/storagegroup" "github.com/stretchr/testify/require" ) diff --git a/object/types.go b/object/types.go index e5735a57..de909a86 100644 --- a/object/types.go +++ b/object/types.go @@ -5,9 +5,9 @@ import ( "context" "github.com/gogo/protobuf/proto" - "github.com/nspcc-dev/neofs-api/internal" - "github.com/nspcc-dev/neofs-api/refs" - "github.com/nspcc-dev/neofs-api/session" + "github.com/nspcc-dev/neofs-api-go/internal" + "github.com/nspcc-dev/neofs-api-go/refs" + "github.com/nspcc-dev/neofs-api-go/session" ) type ( diff --git a/object/types.pb.go b/object/types.pb.go index 53be938d..fe474596 100644 Binary files a/object/types.pb.go and b/object/types.pb.go differ diff --git a/object/types.proto b/object/types.proto index 3abe725f..f21bf74c 100644 --- a/object/types.proto +++ b/object/types.proto @@ -1,6 +1,6 @@ syntax = "proto3"; package object; -option go_package = "github.com/nspcc-dev/neofs-api/object"; +option go_package = "github.com/nspcc-dev/neofs-api-go/object"; option csharp_namespace = "NeoFS.API.Object"; import "refs/types.proto"; diff --git a/object/utils.go b/object/utils.go index 329f2875..07f09840 100644 --- a/object/utils.go +++ b/object/utils.go @@ -4,7 +4,7 @@ import ( "io" "strconv" - "github.com/nspcc-dev/neofs-api/session" + "github.com/nspcc-dev/neofs-api-go/session" "github.com/pkg/errors" ) diff --git a/object/verification_test.go b/object/verification_test.go index 053a7dea..b37ec701 100644 --- a/object/verification_test.go +++ b/object/verification_test.go @@ -4,9 +4,9 @@ import ( "testing" "github.com/google/uuid" - "github.com/nspcc-dev/neofs-api/container" - "github.com/nspcc-dev/neofs-api/refs" - "github.com/nspcc-dev/neofs-api/session" + "github.com/nspcc-dev/neofs-api-go/container" + "github.com/nspcc-dev/neofs-api-go/refs" + "github.com/nspcc-dev/neofs-api-go/session" crypto "github.com/nspcc-dev/neofs-crypto" "github.com/nspcc-dev/neofs-crypto/test" "github.com/stretchr/testify/require" diff --git a/query/types.pb.go b/query/types.pb.go index ed20942f..96bd198f 100644 Binary files a/query/types.pb.go and b/query/types.pb.go differ diff --git a/query/types.proto b/query/types.proto index 0d35154b..ebc0d640 100644 --- a/query/types.proto +++ b/query/types.proto @@ -1,6 +1,6 @@ syntax = "proto3"; package query; -option go_package = "github.com/nspcc-dev/neofs-api/query"; +option go_package = "github.com/nspcc-dev/neofs-api-go/query"; option csharp_namespace = "NeoFS.API.Query"; import "github.com/gogo/protobuf/gogoproto/gogo.proto"; diff --git a/refs/address.go b/refs/address.go index 9c9ce7d0..f07e317f 100644 --- a/refs/address.go +++ b/refs/address.go @@ -4,7 +4,7 @@ import ( "crypto/sha256" "strings" - "github.com/nspcc-dev/neofs-api/internal" + "github.com/nspcc-dev/neofs-api-go/internal" ) const ( diff --git a/refs/owner.go b/refs/owner.go index 59c9c25b..1aed00cd 100644 --- a/refs/owner.go +++ b/refs/owner.go @@ -5,7 +5,7 @@ import ( "crypto/ecdsa" "github.com/mr-tron/base58" - "github.com/nspcc-dev/neofs-api/chain" + "github.com/nspcc-dev/neofs-api-go/chain" "github.com/pkg/errors" ) diff --git a/refs/types.go b/refs/types.go index c0ba85a8..117aa031 100644 --- a/refs/types.go +++ b/refs/types.go @@ -13,8 +13,8 @@ import ( "crypto/sha256" "github.com/google/uuid" - "github.com/nspcc-dev/neofs-api/chain" - "github.com/nspcc-dev/neofs-api/internal" + "github.com/nspcc-dev/neofs-api-go/chain" + "github.com/nspcc-dev/neofs-api-go/internal" ) type ( diff --git a/refs/types.pb.go b/refs/types.pb.go index e4d6a65d..1b483cdb 100644 Binary files a/refs/types.pb.go and b/refs/types.pb.go differ diff --git a/refs/types.proto b/refs/types.proto index d552d6cd..6b001c0a 100644 --- a/refs/types.proto +++ b/refs/types.proto @@ -1,6 +1,6 @@ syntax = "proto3"; package refs; -option go_package = "github.com/nspcc-dev/neofs-api/refs"; +option go_package = "github.com/nspcc-dev/neofs-api-go/refs"; option csharp_namespace = "NeoFS.API.Refs"; import "github.com/gogo/protobuf/gogoproto/gogo.proto"; diff --git a/service/meta.go b/service/meta.go index dc2cdd36..5e9886d5 100644 --- a/service/meta.go +++ b/service/meta.go @@ -1,7 +1,7 @@ package service import ( - "github.com/nspcc-dev/neofs-api/internal" + "github.com/nspcc-dev/neofs-api-go/internal" "github.com/pkg/errors" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/service/meta.pb.go b/service/meta.pb.go index b4769e22..8039990f 100644 Binary files a/service/meta.pb.go and b/service/meta.pb.go differ diff --git a/service/meta.proto b/service/meta.proto index 97017c9d..99b37d37 100644 --- a/service/meta.proto +++ b/service/meta.proto @@ -1,6 +1,6 @@ syntax = "proto3"; package service; -option go_package = "github.com/nspcc-dev/neofs-api/service"; +option go_package = "github.com/nspcc-dev/neofs-api-go/service"; option csharp_namespace = "NeoFS.API.Service"; import "github.com/gogo/protobuf/gogoproto/gogo.proto"; diff --git a/service/verify.go b/service/verify.go index c8bd8d6d..9687032f 100644 --- a/service/verify.go +++ b/service/verify.go @@ -4,8 +4,8 @@ import ( "crypto/ecdsa" "sync" - "github.com/nspcc-dev/neofs-api/internal" - "github.com/nspcc-dev/neofs-api/refs" + "github.com/nspcc-dev/neofs-api-go/internal" + "github.com/nspcc-dev/neofs-api-go/refs" crypto "github.com/nspcc-dev/neofs-crypto" "github.com/pkg/errors" ) diff --git a/service/verify.pb.go b/service/verify.pb.go index c7a2435b..9dca8556 100644 Binary files a/service/verify.pb.go and b/service/verify.pb.go differ diff --git a/service/verify.proto b/service/verify.proto index d241d88c..de0a69a8 100644 --- a/service/verify.proto +++ b/service/verify.proto @@ -1,6 +1,6 @@ syntax = "proto3"; package service; -option go_package = "github.com/nspcc-dev/neofs-api/service"; +option go_package = "github.com/nspcc-dev/neofs-api-go/service"; option csharp_namespace = "NeoFS.API.Service"; import "github.com/gogo/protobuf/gogoproto/gogo.proto"; diff --git a/service/verify_test.go b/service/verify_test.go index fb6736be..27491dad 100644 --- a/service/verify_test.go +++ b/service/verify_test.go @@ -7,7 +7,7 @@ import ( "testing" "github.com/gogo/protobuf/proto" - "github.com/nspcc-dev/neofs-api/refs" + "github.com/nspcc-dev/neofs-api-go/refs" crypto "github.com/nspcc-dev/neofs-crypto" "github.com/nspcc-dev/neofs-crypto/test" "github.com/pkg/errors" diff --git a/service/verify_test.pb.go b/service/verify_test.pb.go index d9200976..6bc87484 100644 Binary files a/service/verify_test.pb.go and b/service/verify_test.pb.go differ diff --git a/service/verify_test.proto b/service/verify_test.proto index ce81180a..901d6fd7 100644 --- a/service/verify_test.proto +++ b/service/verify_test.proto @@ -1,6 +1,6 @@ syntax = "proto3"; package service; -option go_package = "github.com/nspcc-dev/neofs-api/service"; +option go_package = "github.com/nspcc-dev/neofs-api-go/service"; import "service/meta.proto"; import "service/verify.proto"; diff --git a/session/service.go b/session/service.go index 39dfb110..182ff7dc 100644 --- a/session/service.go +++ b/session/service.go @@ -4,7 +4,7 @@ import ( "context" "crypto/ecdsa" - "github.com/nspcc-dev/neofs-api/refs" + "github.com/nspcc-dev/neofs-api-go/refs" crypto "github.com/nspcc-dev/neofs-crypto" ) diff --git a/session/service.pb.go b/session/service.pb.go index f0032164..abd16184 100644 Binary files a/session/service.pb.go and b/session/service.pb.go differ diff --git a/session/service.proto b/session/service.proto index 2c96a3ed..524213a0 100644 --- a/session/service.proto +++ b/session/service.proto @@ -1,6 +1,6 @@ syntax = "proto3"; package session; -option go_package = "github.com/nspcc-dev/neofs-api/session"; +option go_package = "github.com/nspcc-dev/neofs-api-go/session"; option csharp_namespace = "NeoFS.API.Session"; import "session/types.proto"; diff --git a/session/store.go b/session/store.go index b671a8cb..f6a6655e 100644 --- a/session/store.go +++ b/session/store.go @@ -6,7 +6,7 @@ import ( "crypto/rand" "sync" - "github.com/nspcc-dev/neofs-api/refs" + "github.com/nspcc-dev/neofs-api-go/refs" crypto "github.com/nspcc-dev/neofs-crypto" ) diff --git a/session/store_test.go b/session/store_test.go index 6ee17adb..9ad0e1d1 100644 --- a/session/store_test.go +++ b/session/store_test.go @@ -5,7 +5,7 @@ import ( "crypto/rand" "testing" - "github.com/nspcc-dev/neofs-api/refs" + "github.com/nspcc-dev/neofs-api-go/refs" crypto "github.com/nspcc-dev/neofs-crypto" "github.com/stretchr/testify/require" ) diff --git a/session/types.go b/session/types.go index 120b8a89..4165291b 100644 --- a/session/types.go +++ b/session/types.go @@ -5,9 +5,9 @@ import ( "encoding/binary" "sync" - "github.com/nspcc-dev/neofs-api/chain" - "github.com/nspcc-dev/neofs-api/internal" - "github.com/nspcc-dev/neofs-api/refs" + "github.com/nspcc-dev/neofs-api-go/chain" + "github.com/nspcc-dev/neofs-api-go/internal" + "github.com/nspcc-dev/neofs-api-go/refs" crypto "github.com/nspcc-dev/neofs-crypto" "github.com/pkg/errors" ) diff --git a/session/types.pb.go b/session/types.pb.go index 81e3a862..01458ddc 100644 Binary files a/session/types.pb.go and b/session/types.pb.go differ diff --git a/session/types.proto b/session/types.proto index 0cf15839..3ae49a3b 100644 --- a/session/types.proto +++ b/session/types.proto @@ -1,6 +1,6 @@ syntax = "proto3"; package session; -option go_package = "github.com/nspcc-dev/neofs-api/session"; +option go_package = "github.com/nspcc-dev/neofs-api-go/session"; option csharp_namespace = "NeoFS.API.Session"; import "github.com/gogo/protobuf/gogoproto/gogo.proto"; diff --git a/state/service.pb.go b/state/service.pb.go index b55f3c12..4c7db88a 100644 Binary files a/state/service.pb.go and b/state/service.pb.go differ diff --git a/state/service.proto b/state/service.proto index dc5efe40..bebc9132 100644 --- a/state/service.proto +++ b/state/service.proto @@ -1,6 +1,6 @@ syntax = "proto3"; package state; -option go_package = "github.com/nspcc-dev/neofs-api/state"; +option go_package = "github.com/nspcc-dev/neofs-api-go/state"; option csharp_namespace = "NeoFS.API.State"; import "service/meta.proto"; diff --git a/storagegroup/storage.go b/storagegroup/storage.go index d41af495..7438b2b7 100644 --- a/storagegroup/storage.go +++ b/storagegroup/storage.go @@ -3,7 +3,7 @@ package storagegroup import ( "context" - "github.com/nspcc-dev/neofs-api/refs" + "github.com/nspcc-dev/neofs-api-go/refs" ) type ( diff --git a/storagegroup/types.go b/storagegroup/types.go index 52c1410c..d16382b2 100644 --- a/storagegroup/types.go +++ b/storagegroup/types.go @@ -7,8 +7,8 @@ import ( "github.com/gogo/protobuf/proto" "github.com/mr-tron/base58" - "github.com/nspcc-dev/neofs-api/hash" - "github.com/nspcc-dev/neofs-api/refs" + "github.com/nspcc-dev/neofs-api-go/hash" + "github.com/nspcc-dev/neofs-api-go/refs" ) type ( diff --git a/storagegroup/types.pb.go b/storagegroup/types.pb.go index 46f736dc..fa4b2486 100644 Binary files a/storagegroup/types.pb.go and b/storagegroup/types.pb.go differ diff --git a/storagegroup/types.proto b/storagegroup/types.proto index 41a211fa..fde33aae 100644 --- a/storagegroup/types.proto +++ b/storagegroup/types.proto @@ -1,6 +1,6 @@ syntax = "proto3"; package storagegroup; -option go_package = "github.com/nspcc-dev/neofs-api/storagegroup"; +option go_package = "github.com/nspcc-dev/neofs-api-go/storagegroup"; option csharp_namespace = "NeoFS.API.StorageGroup"; import "github.com/gogo/protobuf/gogoproto/gogo.proto";