1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-09 17:45:03 +09:00

Change gogo/protobuf to anyproto/protobuf

This commit is contained in:
mcrakhman 2024-08-02 11:14:12 +02:00
parent 491fe04d5c
commit 012a7ee5f0
No known key found for this signature in database
GPG key ID: DED12CFEF5B8396B
62 changed files with 82 additions and 76 deletions

View file

@ -5,7 +5,7 @@ package aclrecordproto
import (
fmt "fmt"
proto "github.com/gogo/protobuf/proto"
proto "github.com/anyproto/protobuf/proto"
io "io"
math "math"
math_bits "math/bits"

View file

@ -4,7 +4,7 @@ import (
"errors"
"time"
"github.com/gogo/protobuf/proto"
"github.com/anyproto/protobuf/proto"
"github.com/anyproto/any-sync/commonspace/object/accountdata"
"github.com/anyproto/any-sync/commonspace/object/acl/aclrecordproto"

View file

@ -3,7 +3,7 @@ package list
import (
"errors"
"github.com/gogo/protobuf/proto"
"github.com/anyproto/protobuf/proto"
"go.uber.org/zap"
"github.com/anyproto/any-sync/app/logger"

View file

@ -3,7 +3,7 @@ package syncacl
import (
"fmt"
"github.com/gogo/protobuf/proto"
"github.com/anyproto/protobuf/proto"
"github.com/anyproto/any-sync/commonspace/spacesyncproto"
"github.com/anyproto/any-sync/consensus/consensusproto"

View file

@ -4,7 +4,7 @@ import (
"context"
"errors"
"github.com/gogo/protobuf/proto"
"github.com/anyproto/protobuf/proto"
"go.uber.org/zap"
"storj.io/drpc"

View file

@ -8,7 +8,7 @@ import (
"github.com/anyproto/any-sync/commonspace/spacesyncproto"
"github.com/anyproto/any-sync/commonspace/syncstatus"
"github.com/anyproto/any-sync/consensus/consensusproto"
"github.com/gogo/protobuf/proto"
"github.com/anyproto/protobuf/proto"
"github.com/stretchr/testify/require"
"go.uber.org/mock/gomock"
"sync"

View file

@ -3,7 +3,7 @@ package objecttree
import (
"errors"
"github.com/gogo/protobuf/proto"
"github.com/anyproto/protobuf/proto"
"github.com/anyproto/any-sync/commonspace/object/tree/treechangeproto"
"github.com/anyproto/any-sync/util/crypto"

View file

@ -3,7 +3,7 @@ package objecttree
import (
"errors"
"github.com/gogo/protobuf/proto"
"github.com/anyproto/protobuf/proto"
"github.com/anyproto/any-sync/commonspace/object/tree/treechangeproto"
"github.com/anyproto/any-sync/util/cidutil"

View file

@ -1,7 +1,7 @@
package objecttree
import (
"github.com/gogo/protobuf/proto"
"github.com/anyproto/protobuf/proto"
"github.com/anyproto/any-sync/commonspace/object/tree/treechangeproto"
)

View file

@ -10,7 +10,7 @@ import (
"golang.org/x/exp/slices"
"github.com/gogo/protobuf/proto"
"github.com/anyproto/protobuf/proto"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

View file

@ -3,7 +3,7 @@ package synctree
import (
"fmt"
"github.com/gogo/protobuf/proto"
"github.com/anyproto/protobuf/proto"
"github.com/anyproto/any-sync/commonspace/object/tree/treechangeproto"
"github.com/anyproto/any-sync/commonspace/spacesyncproto"

View file

@ -4,7 +4,7 @@ import (
"context"
"errors"
"github.com/gogo/protobuf/proto"
"github.com/anyproto/protobuf/proto"
"go.uber.org/zap"
"storj.io/drpc"

View file

@ -5,7 +5,7 @@ import (
"fmt"
"testing"
"github.com/gogo/protobuf/proto"
"github.com/anyproto/protobuf/proto"
"github.com/stretchr/testify/require"
"go.uber.org/mock/gomock"

View file

@ -5,7 +5,7 @@ package treechangeproto
import (
fmt "fmt"
proto "github.com/gogo/protobuf/proto"
proto "github.com/anyproto/protobuf/proto"
io "io"
math "math"
math_bits "math/bits"

View file

@ -8,7 +8,7 @@ import (
"strings"
"time"
"github.com/gogo/protobuf/proto"
"github.com/anyproto/protobuf/proto"
"github.com/anyproto/any-sync/commonspace/object/acl/aclrecordproto"
"github.com/anyproto/any-sync/commonspace/object/acl/list"

View file

@ -8,7 +8,7 @@ import (
"github.com/anyproto/any-sync/commonspace/deletionmanager"
"github.com/anyproto/any-sync/util/crypto"
"github.com/gogo/protobuf/proto"
"github.com/anyproto/protobuf/proto"
"go.uber.org/zap"
"github.com/anyproto/any-sync/accountservice"

View file

@ -2,7 +2,7 @@ package settingsstate
import (
"github.com/anyproto/any-sync/commonspace/spacesyncproto"
"github.com/gogo/protobuf/proto"
"github.com/anyproto/protobuf/proto"
"github.com/stretchr/testify/require"
"golang.org/x/exp/slices"
"testing"

View file

@ -3,7 +3,7 @@ package settingsstate
import (
"github.com/anyproto/any-sync/commonspace/object/tree/objecttree"
"github.com/anyproto/any-sync/commonspace/spacesyncproto"
"github.com/gogo/protobuf/proto"
"github.com/anyproto/protobuf/proto"
)
type StateBuilder interface {

View file

@ -2,7 +2,7 @@
package spacesyncproto
import (
"github.com/gogo/protobuf/proto"
"github.com/anyproto/protobuf/proto"
"storj.io/drpc"
)

View file

@ -5,7 +5,7 @@ package spacesyncproto
import (
fmt "fmt"
proto "github.com/gogo/protobuf/proto"
proto "github.com/anyproto/protobuf/proto"
io "io"
math "math"
math_bits "math/bits"

View file

@ -8,8 +8,8 @@ import (
bytes "bytes"
context "context"
errors "errors"
jsonpb "github.com/gogo/protobuf/jsonpb"
proto "github.com/gogo/protobuf/proto"
jsonpb "github.com/anyproto/protobuf/jsonpb"
proto "github.com/anyproto/protobuf/proto"
drpc "storj.io/drpc"
drpcerr "storj.io/drpc/drpcerr"
)

View file

@ -3,7 +3,7 @@ package objectmessages
import (
"fmt"
"github.com/gogo/protobuf/proto"
"github.com/anyproto/protobuf/proto"
"github.com/anyproto/any-sync/commonspace/spacesyncproto"
)

View file

@ -1,7 +1,7 @@
package objectmessages
import (
"github.com/gogo/protobuf/proto"
"github.com/anyproto/protobuf/proto"
"github.com/anyproto/any-sync/commonspace/spacesyncproto"
)

View file

@ -6,7 +6,7 @@ import (
"fmt"
"github.com/cheggaaa/mb/v3"
"github.com/gogo/protobuf/proto"
"github.com/anyproto/protobuf/proto"
"storj.io/drpc"
"github.com/anyproto/any-sync/app"

View file

@ -6,7 +6,7 @@ import (
"io"
"strings"
"github.com/gogo/protobuf/proto"
"github.com/anyproto/protobuf/proto"
"go.uber.org/zap"
"storj.io/drpc"

View file

@ -1,6 +1,6 @@
package syncdeps
import "github.com/gogo/protobuf/proto"
import "github.com/anyproto/protobuf/proto"
type Request interface {
PeerId() string

View file

@ -4,7 +4,7 @@ import (
"context"
"github.com/cheggaaa/mb/v3"
"github.com/gogo/protobuf/proto"
"github.com/anyproto/protobuf/proto"
"storj.io/drpc"
"github.com/anyproto/any-sync/app"

View file

@ -1,7 +1,7 @@
package synctest
import (
"github.com/gogo/protobuf/proto"
"github.com/anyproto/protobuf/proto"
"github.com/anyproto/any-sync/commonspace/sync/synctestproto"
)

View file

@ -3,7 +3,7 @@ package synctest
import (
"context"
"github.com/gogo/protobuf/proto"
"github.com/anyproto/protobuf/proto"
"golang.org/x/exp/slices"
"github.com/anyproto/any-sync/commonspace/sync/syncdeps"

View file

@ -4,7 +4,7 @@ import (
"context"
"github.com/cheggaaa/mb/v3"
"github.com/gogo/protobuf/proto"
"github.com/anyproto/protobuf/proto"
"storj.io/drpc"
"github.com/anyproto/any-sync/app"

View file

@ -1,7 +1,7 @@
package synctest
import (
"github.com/gogo/protobuf/proto"
"github.com/anyproto/protobuf/proto"
"github.com/anyproto/any-sync/commonspace/sync/synctestproto"
)

View file

@ -1,6 +1,6 @@
package synctestproto
import "github.com/gogo/protobuf/proto"
import "github.com/anyproto/protobuf/proto"
func (c *CounterIncrease) MsgSize() uint64 {
if c != nil {

View file

@ -5,7 +5,7 @@ package synctestproto
import (
fmt "fmt"
proto "github.com/gogo/protobuf/proto"
proto "github.com/anyproto/protobuf/proto"
io "io"
math "math"
math_bits "math/bits"

View file

@ -8,8 +8,8 @@ import (
bytes "bytes"
context "context"
errors "errors"
jsonpb "github.com/gogo/protobuf/jsonpb"
proto "github.com/gogo/protobuf/proto"
jsonpb "github.com/anyproto/protobuf/jsonpb"
proto "github.com/anyproto/protobuf/proto"
drpc "storj.io/drpc"
drpcerr "storj.io/drpc/drpcerr"
)