mirror of
https://github.com/libp2p/go-libp2p-peerstore.git
synced 2024-12-27 23:40:16 +08:00
Use post-extraction import paths
This commit is contained in:
parent
6a447a0b87
commit
0cf66c98e5
@ -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"
|
||||
)
|
||||
|
||||
|
2
peer.go
2
peer.go
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
)
|
||||
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
)
|
||||
|
@ -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"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user