Replace "golang.org/x/net/context" with "context" for go1.7+ #2154

This commit is contained in:
Nick Craig-Wood 2018-04-06 19:13:27 +01:00
parent 67023f0040
commit 80588a5a6b
16 changed files with 19 additions and 21 deletions

View file

@ -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