Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
go-libp2p
Commits
6297f79d
Commit
6297f79d
authored
Dec 08, 2017
by
Steven Allen
Browse files
fix example import
(need to use the canonical repository location for everything to work)
parent
64a07357
Changes
3
Show whitespace changes
Inline
Side-by-side
examples/multipro/echo.go
View file @
6297f79d
...
@@ -8,10 +8,10 @@ import (
...
@@ -8,10 +8,10 @@ import (
inet
"github.com/libp2p/go-libp2p-net"
inet
"github.com/libp2p/go-libp2p-net"
p2p
"github.com/avive/go-libp2p/examples/multipro/pb"
uuid
"github.com/google/uuid"
uuid
"github.com/google/uuid"
assert
"github.com/ipfs/go-ipfs/thirdparty/assert"
assert
"github.com/ipfs/go-ipfs/thirdparty/assert"
"github.com/libp2p/go-libp2p-host"
"github.com/libp2p/go-libp2p-host"
p2p
"github.com/libp2p/go-libp2p/examples/multipro/pb"
protobufCodec
"github.com/multiformats/go-multicodec/protobuf"
protobufCodec
"github.com/multiformats/go-multicodec/protobuf"
)
)
...
...
examples/multipro/node.go
View file @
6297f79d
...
@@ -5,12 +5,12 @@ import (
...
@@ -5,12 +5,12 @@ import (
"log"
"log"
"time"
"time"
p2p
"github.com/avive/go-libp2p/examples/multipro/pb"
"github.com/gogo/protobuf/proto"
"github.com/gogo/protobuf/proto"
crypto
"github.com/libp2p/go-libp2p-crypto"
crypto
"github.com/libp2p/go-libp2p-crypto"
host
"github.com/libp2p/go-libp2p-host"
host
"github.com/libp2p/go-libp2p-host"
inet
"github.com/libp2p/go-libp2p-net"
inet
"github.com/libp2p/go-libp2p-net"
peer
"github.com/libp2p/go-libp2p-peer"
peer
"github.com/libp2p/go-libp2p-peer"
p2p
"github.com/libp2p/go-libp2p/examples/multipro/pb"
protobufCodec
"github.com/multiformats/go-multicodec/protobuf"
protobufCodec
"github.com/multiformats/go-multicodec/protobuf"
)
)
...
...
examples/multipro/ping.go
View file @
6297f79d
...
@@ -6,10 +6,10 @@ import (
...
@@ -6,10 +6,10 @@ import (
"fmt"
"fmt"
"log"
"log"
p2p
"github.com/avive/go-libp2p/examples/multipro/pb"
uuid
"github.com/google/uuid"
uuid
"github.com/google/uuid"
"github.com/libp2p/go-libp2p-host"
"github.com/libp2p/go-libp2p-host"
inet
"github.com/libp2p/go-libp2p-net"
inet
"github.com/libp2p/go-libp2p-net"
p2p
"github.com/libp2p/go-libp2p/examples/multipro/pb"
protobufCodec
"github.com/multiformats/go-multicodec/protobuf"
protobufCodec
"github.com/multiformats/go-multicodec/protobuf"
)
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment