diff --git a/CHANGELOG.md b/CHANGELOG.md index f271707..559435c 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/README.md b/README.md index 1320e72..8820d58 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 5f8f889..229707f 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 5b485ce..8dd146b 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 12fca58..d1540c4 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 a100cf2..6a3b2e2 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 af22ec8..576ba1f 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 1c0cd57..02fb691 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 14aee3b..df81b46 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 735fb85..1077395 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 d8a8eeb..e0825f5 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 ee23b5d..080a100 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 e068728..929d9b3 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 fadb464..d1797cc 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 db43bf6..e37c878 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 6c21b73..690d81c 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 db83671..fcd8848 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 cbce379..4ef0fff 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 bdc8a65..e10301f 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 01d88fa..8eb9ba6 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 b887121..8698925 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 b287a22..bccf924 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 b718907..21fc0d1 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 cc0f736..bfb7fa7 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 775d84c..a0d035d 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 0a20d54..1ccc00b 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 60c0153..9108e61 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 d21ce1b..f3d5c00 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 161343f..50c24ad 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 de02491..9d75278 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 a496413..6e577bd 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 e75c9f2..589bd95 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 46891e2..8502c8e 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 dbd2a80..2aa21fd 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 a51123b..a75b950 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 ed657b7..716e916 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 e5735a5..de909a8 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 53be938..fe47459 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 3abe725..f21bf74 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 329f287..07f0984 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 053a7de..b37ec70 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 ed20942..96bd198 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 0d35154..ebc0d64 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 9c9ce7d..f07e317 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 59c9c25..1aed00c 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 c0ba85a..117aa03 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 e4d6a65..1b483cd 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 d552d6c..6b001c0 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 dc2cdd3..5e9886d 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 b4769e2..8039990 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 97017c9..99b37d3 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 c8bd8d6..9687032 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 c7a2435..9dca855 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 d241d88..de0a69a 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 fb6736b..27491da 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 d920097..6bc8748 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 ce81180..901d6fd 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 39dfb11..182ff7d 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 f003216..abd1618 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 2c96a3e..524213a 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 b671a8c..f6a6655 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 6ee17ad..9ad0e1d 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 120b8a8..4165291 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 81e3a86..01458dd 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 0cf1583..3ae49a3 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 b55f3c1..4c7db88 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 dc5efe4..bebc913 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 d41af49..7438b2b 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 52c1410..d16382b 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 46f736d..fa4b248 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 41a211f..fde33aa 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";