Use post-extraction import paths

This commit is contained in:
Lars Gierth 2016-04-15 22:56:37 -07:00
parent 6a447a0b87
commit 0cf66c98e5
8 changed files with 9 additions and 9 deletions

View File

@ -6,7 +6,7 @@ import (
"testing"
"time"
peer "github.com/ipfs/go-libp2p/p2p/peer"
peer "github.com/ipfs/go-libp2p-peer"
testutil "github.com/ipfs/go-libp2p/testutil"
)

View File

@ -8,7 +8,7 @@ import (
"strings"
u "github.com/ipfs/go-ipfs-util"
ic "github.com/ipfs/go-libp2p/p2p/crypto"
ic "github.com/ipfs/go-libp2p-crypto"
logging "github.com/ipfs/go-log" // ID represents the identity of a peer.
b58 "github.com/jbenet/go-base58"
ma "github.com/jbenet/go-multiaddr"

View File

@ -7,8 +7,8 @@ import (
"testing"
u "github.com/ipfs/go-ipfs-util"
ic "github.com/ipfs/go-libp2p/p2p/crypto"
. "github.com/ipfs/go-libp2p/p2p/peer"
ic "github.com/ipfs/go-libp2p-crypto"
. "github.com/ipfs/go-libp2p-peer"
tu "github.com/ipfs/go-libp2p/testutil"
b58 "github.com/jbenet/go-base58"

View File

@ -5,7 +5,7 @@ import (
"sync"
"time"
ic "github.com/ipfs/go-libp2p/p2p/crypto"
ic "github.com/ipfs/go-libp2p-crypto"
//ds "github.com/jbenet/go-datastore"
//dssync "github.com/jbenet/go-datastore/sync"

View File

@ -5,7 +5,7 @@ import (
"math/big"
"sync"
peer "github.com/ipfs/go-libp2p/p2p/peer"
peer "github.com/ipfs/go-libp2p-peer"
ks "github.com/whyrusleeping/go-keyspace"
)

View File

@ -1,6 +1,6 @@
package queue
import peer "github.com/ipfs/go-libp2p/p2p/peer"
import peer "github.com/ipfs/go-libp2p-peer"
// PeerQueue maintains a set of peers ordered according to a metric.
// Implementations of PeerQueue could order peers based on distances along

View File

@ -7,7 +7,7 @@ import (
"time"
u "github.com/ipfs/go-ipfs-util"
peer "github.com/ipfs/go-libp2p/p2p/peer"
peer "github.com/ipfs/go-libp2p-peer"
context "golang.org/x/net/context"
)

View File

@ -1,7 +1,7 @@
package queue
import (
peer "github.com/ipfs/go-libp2p/p2p/peer"
peer "github.com/ipfs/go-libp2p-peer"
logging "github.com/ipfs/go-log"
context "golang.org/x/net/context"
)