Update protobuf version (rebased from 6d25d51519)

Some change is not adopted since it would break the code base. These changes will be reintroduced at a later date.
This commit is contained in:
young-zy 2020-12-20 10:50:46 +08:00 committed by Shelikhoo
parent b05a469488
commit 12dfbc78a3
No known key found for this signature in database
GPG Key ID: C4D5E79D22B25316
6 changed files with 6 additions and 7 deletions

View File

@ -5,7 +5,7 @@ import (
"sync"
"time"
"github.com/golang/protobuf/proto"
"google.golang.org/protobuf/proto"
"github.com/v2fly/v2ray-core/v4/common"
"github.com/v2fly/v2ray-core/v4/common/buf"

View File

@ -2,9 +2,8 @@ package serial
import (
"errors"
"reflect"
"github.com/golang/protobuf/proto"
"reflect"
)
// ToTypedMessage converts a proto Message into TypedMessage.

View File

@ -6,7 +6,7 @@ import (
"strconv"
"syscall"
"github.com/golang/protobuf/proto"
"google.golang.org/protobuf/proto"
"github.com/v2fly/v2ray-core/v4/common/net"
"github.com/v2fly/v2ray-core/v4/common/protocol"

View File

@ -6,7 +6,7 @@ package encoding
import (
"io"
"github.com/golang/protobuf/proto"
"google.golang.org/protobuf/proto"
"github.com/v2fly/v2ray-core/v4/common/buf"
"github.com/v2fly/v2ray-core/v4/common/errors"

View File

@ -13,7 +13,7 @@ import (
"syscall"
"time"
"github.com/golang/protobuf/proto"
"google.golang.org/protobuf/proto"
core "github.com/v2fly/v2ray-core/v4"
"github.com/v2fly/v2ray-core/v4/app/dispatcher"

View File

@ -3,7 +3,7 @@ package core_test
import (
"testing"
"github.com/golang/protobuf/proto"
"google.golang.org/protobuf/proto"
. "github.com/v2fly/v2ray-core/v4"
"github.com/v2fly/v2ray-core/v4/app/dispatcher"