Some change is not adopted since it would break the code base. These changes will be reintroduced at a later date.
@@ -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"
@@ -2,9 +2,8 @@ package serial
import (
"errors"
- "reflect"
-
"github.com/golang/protobuf/proto"
+ "reflect"
)
// ToTypedMessage converts a proto Message into TypedMessage.
@@ -6,7 +6,7 @@ import (
"strconv"
"syscall"
"github.com/v2fly/v2ray-core/v4/common/net"
"github.com/v2fly/v2ray-core/v4/common/protocol"
@@ -6,7 +6,7 @@ package encoding
"io"
"github.com/v2fly/v2ray-core/v4/common/errors"
@@ -13,7 +13,7 @@ import (
core "github.com/v2fly/v2ray-core/v4"
"github.com/v2fly/v2ray-core/v4/app/dispatcher"
@@ -3,7 +3,7 @@ package core_test
"testing"
. "github.com/v2fly/v2ray-core/v4"