Update context imports
This commit is contained in:
parent
64c40a45b4
commit
eb448d132d
|
@ -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"
|
||||
)
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
package torrent
|
||||
|
||||
import (
|
||||
"context"
|
||||
"errors"
|
||||
"io"
|
||||
"log"
|
||||
"sync"
|
||||
|
||||
"github.com/anacrolix/missinggo"
|
||||
"golang.org/x/net/context"
|
||||
)
|
||||
|
||||
type Reader interface {
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue