move proto package

This commit is contained in:
chrislu
2022-08-17 12:05:07 -07:00
parent e259052a70
commit eaeb141b09
49 changed files with 53 additions and 53 deletions

View File

@@ -7,10 +7,10 @@ import (
"os"
"strings"
"github.com/golang/protobuf/proto"
"github.com/seaweedfs/seaweedfs/weed/glog"
"github.com/seaweedfs/seaweedfs/weed/storage/needle"
"github.com/viant/ptrie"
"google.golang.org/protobuf/proto"
)
func (entry *Entry) IsInRemoteOnly() bool {

View File

@@ -3,7 +3,7 @@ package filer_pb
import (
"testing"
"github.com/golang/protobuf/proto"
"google.golang.org/protobuf/proto"
)
func TestFileIdSize(t *testing.T) {

View File

@@ -4,8 +4,8 @@ import (
"fmt"
"testing"
"github.com/golang/protobuf/jsonpb"
"github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"
"google.golang.org/protobuf/jsonpb"
)
func TestJsonpMarshalUnmarshal(t *testing.T) {

View File

@@ -1,6 +1,6 @@
package remote_pb
import "github.com/golang/protobuf/proto"
import "google.golang.org/protobuf/proto"
func (fp *RemoteStorageLocation) Key() interface{} {
key, _ := proto.Marshal(fp)