use new context

This commit is contained in:
Darien Raymond
2018-09-30 23:08:14 +02:00
parent 69afe55d7a
commit 56ce5d5f84
2 changed files with 5 additions and 4 deletions
+4 -3
View File
@@ -1,11 +1,12 @@
package command
import (
"context"
fmt "fmt"
proto "github.com/golang/protobuf/proto"
context "golang.org/x/net/context"
grpc "google.golang.org/grpc"
math "math"
proto "github.com/golang/protobuf/proto"
grpc "google.golang.org/grpc"
)
// Reference imports to suppress errors if they are not otherwise used.
+1 -1
View File
@@ -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"