Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

use github.com/golang/protobuf/proto instead of code.google.com/p/goprotobuf/proto

yanyiwu5b7628cf08b2
diff --git a/go/operation/system_message.pb.go b/go/operation/system_message.pb.go
index 9f00dd74d8..6f0f974c5a 100644
--- a/go/operation/system_message.pb.go
+++ b/go/operation/system_message.pb.go
@@ -14,7 +14,7 @@ It has these top-level messages:
*/
package operation
-import proto "code.google.com/p/goprotobuf/proto"
+import "github.com/golang/protobuf/proto"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/go/operation/system_message_test.go b/go/operation/system_message_test.go
index b5624c2588..d18ca49a45 100644
--- a/go/operation/system_message_test.go
+++ b/go/operation/system_message_test.go
@@ -5,7 +5,7 @@ import (
"log"
"testing"
- proto "code.google.com/p/goprotobuf/proto"
+ "github.com/golang/protobuf/proto"
)
func TestSerialDeserial(t *testing.T) {
diff --git a/go/storage/store.go b/go/storage/store.go
index e1d9d2b018..65eed1d0e6 100644
--- a/go/storage/store.go
+++ b/go/storage/store.go
@@ -9,10 +9,10 @@ import (
"strconv"
"strings"
- proto "code.google.com/p/goprotobuf/proto"
"github.com/chrislusf/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/operation"
"github.com/chrislusf/weed-fs/go/util"
+ "github.com/golang/protobuf/proto"
)
const (
diff --git a/go/weed/weed_server/master_server_handlers_admin.go b/go/weed/weed_server/master_server_handlers_admin.go
index d7124e5676..75e0593658 100644
--- a/go/weed/weed_server/master_server_handlers_admin.go
+++ b/go/weed/weed_server/master_server_handlers_admin.go
@@ -8,12 +8,12 @@ import (
"strconv"
"strings"
- proto "code.google.com/p/goprotobuf/proto"
"github.com/chrislusf/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/operation"
"github.com/chrislusf/weed-fs/go/storage"
"github.com/chrislusf/weed-fs/go/topology"
"github.com/chrislusf/weed-fs/go/util"
+ "github.com/golang/protobuf/proto"
)
func (ms *MasterServer) collectionDeleteHandler(w http.ResponseWriter, r *http.Request) {