use context from stdlib

This commit is contained in:
Jeromy
2016-10-04 16:19:16 -07:00
parent 8b37b2c3bd
commit c87d50ff49
6 changed files with 6 additions and 12 deletions

View File

@@ -1,6 +1,7 @@
package queue
import (
"context"
"fmt"
"sync"
"testing"
@@ -8,8 +9,6 @@ import (
u "github.com/ipfs/go-ipfs-util"
peer "github.com/ipfs/go-libp2p-peer"
context "golang.org/x/net/context"
)
func TestQueue(t *testing.T) {

View File

@@ -1,9 +1,10 @@
package queue
import (
"context"
peer "github.com/ipfs/go-libp2p-peer"
logging "github.com/ipfs/go-log"
context "golang.org/x/net/context"
)
var log = logging.Logger("peerqueue")