Replace "golang.org/x/net/context" with "context" for go1.7+ #2154
This commit is contained in:
parent
67023f0040
commit
80588a5a6b
16 changed files with 19 additions and 21 deletions
|
@ -1,6 +1,7 @@
|
|||
package vfs
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
"os"
|
||||
|
@ -14,7 +15,6 @@ import (
|
|||
"github.com/spf13/pflag"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
"golang.org/x/net/context" // switch to "context" when we stop supporting go1.6
|
||||
)
|
||||
|
||||
// Check CacheMode it satisfies the pflag interface
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue