소스 검색

use new context

Darien Raymond 7 년 전
부모
커밋
56ce5d5f84
2개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 2
      app/log/command/config.pb.go
  2. 1 1
      app/stats/command/command_test.go

+ 3 - 2
app/log/command/config.pb.go

@@ -1,11 +1,12 @@
 package command
 
 import (
+	"context"
 	fmt "fmt"
+	math "math"
+
 	proto "github.com/golang/protobuf/proto"
-	context "golang.org/x/net/context"
 	grpc "google.golang.org/grpc"
-	math "math"
 )
 
 // Reference imports to suppress errors if they are not otherwise used.

+ 1 - 1
app/stats/command/command_test.go

@@ -1,9 +1,9 @@
 package command_test
 
 import (
+	"context"
 	"testing"
 
-	context "golang.org/x/net/context"
 	"v2ray.com/core/app/stats"
 	. "v2ray.com/core/app/stats/command"
 	. "v2ray.com/ext/assert"