Skip to content

Commit

Permalink
move code to libp2p repo
Browse files Browse the repository at this point in the history
  • Loading branch information
whyrusleeping committed Sep 13, 2016
1 parent ac28933 commit 42696a2
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ install: true

script:
- make deps
- go vet
- go test ./...

cache:
Expand Down
2 changes: 1 addition & 1 deletion comm.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"context"
"io"

pb "github.com/whyrusleeping/go-floodsub/pb"
pb "github.com/libp2p/go-floodsub/pb"

ggio "github.com/gogo/protobuf/io"
proto "github.com/gogo/protobuf/proto"
Expand Down
2 changes: 1 addition & 1 deletion floodsub.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"fmt"
"time"

pb "github.com/whyrusleeping/go-floodsub/pb"
pb "github.com/libp2p/go-floodsub/pb"

proto "github.com/gogo/protobuf/proto"
peer "github.com/ipfs/go-libp2p-peer"
Expand Down
4 changes: 2 additions & 2 deletions floodsub_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"testing"
"time"

host "github.com/libp2p/go-libp2p/p2p/host"
netutil "github.com/libp2p/go-libp2p/p2p/test/util"
host "gx/ipfs/QmcpZpCmnfjRunzeYtXZdtcy16P2mC65CThjb7aA8sPqNY/go-libp2p/p2p/host"
netutil "gx/ipfs/QmcpZpCmnfjRunzeYtXZdtcy16P2mC65CThjb7aA8sPqNY/go-libp2p/p2p/test/util"
)

func getNetHosts(t *testing.T, ctx context.Context, n int) []host.Host {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"author": "whyrusleeping",
"bugs": {
"url": "https://github.com/whyrusleeping/go-floodsub"
"url": "https://github.com/libp2p/go-floodsub"
},
"gx": {
"dvcsimport": "github.com/whyrusleeping/go-floodsub"
"dvcsimport": "github.com/libp2p/go-floodsub"
},
"gxDependencies": [
{
Expand Down

0 comments on commit 42696a2

Please sign in to comment.