1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-01-17 14:57:44 -05:00

use new context

This commit is contained in:
Darien Raymond 2018-09-30 23:08:14 +02:00
parent 69afe55d7a
commit 56ce5d5f84
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
2 changed files with 5 additions and 4 deletions

View File

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

View File

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