Update context imports

This commit is contained in:
Matt Joiner 2018-01-31 16:42:26 +11:00
parent 64c40a45b4
commit eb448d132d
5 changed files with 6 additions and 5 deletions

View File

@ -1,9 +1,10 @@
package torrentfs
import (
"context"
"bazil.org/fuse"
fusefs "bazil.org/fuse/fs"
"golang.org/x/net/context"
"github.com/anacrolix/torrent"
)

View File

@ -1,6 +1,7 @@
package torrentfs
import (
"context"
"expvar"
"os"
"strings"
@ -8,7 +9,6 @@ import (
"bazil.org/fuse"
fusefs "bazil.org/fuse/fs"
"golang.org/x/net/context"
"github.com/anacrolix/torrent"
"github.com/anacrolix/torrent/metainfo"

View File

@ -2,6 +2,7 @@ package torrentfs
import (
"context"
netContext "context"
"fmt"
"io/ioutil"
"log"
@ -18,7 +19,6 @@ import (
"github.com/anacrolix/missinggo"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
netContext "golang.org/x/net/context"
"github.com/anacrolix/torrent"
"github.com/anacrolix/torrent/internal/testutil"

View File

@ -1,13 +1,13 @@
package torrent
import (
"context"
"errors"
"io"
"log"
"sync"
"github.com/anacrolix/missinggo"
"golang.org/x/net/context"
)
type Reader interface {

View File

@ -1,11 +1,11 @@
package torrent
import (
"context"
"testing"
"time"
"github.com/stretchr/testify/require"
"golang.org/x/net/context"
"github.com/anacrolix/torrent/internal/testutil"
)