Skip to content

Commit

Permalink
Update context imports
Browse files Browse the repository at this point in the history
  • Loading branch information
anacrolix committed Jan 31, 2018
1 parent 64c40a4 commit eb448d1
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion fs/filenode.go
Original file line number Diff line number Diff line change
@@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion fs/torrentfs.go
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package torrentfs

import (
"context"
"expvar"
"os"
"strings"
"sync"

"bazil.org/fuse"
fusefs "bazil.org/fuse/fs"
"golang.org/x/net/context"

"github.com/anacrolix/torrent"
"github.com/anacrolix/torrent/metainfo"
Expand Down
2 changes: 1 addition & 1 deletion fs/torrentfs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package torrentfs

import (
"context"
netContext "context"
"fmt"
"io/ioutil"
"log"
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion reader.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package torrent

import (
"context"
"errors"
"io"
"log"
"sync"

"github.com/anacrolix/missinggo"
"golang.org/x/net/context"
)

type Reader interface {
Expand Down
2 changes: 1 addition & 1 deletion reader_test.go
Original file line number Diff line number Diff line change
@@ -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"
)
Expand Down

0 comments on commit eb448d1

Please sign in to comment.