Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
p2p
go-p2p-addrutil
Commits
cbc0086a
Commit
cbc0086a
authored
Jan 04, 2016
by
Jeromy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
path rewrites
parent
1ee2f814
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
addr.go
addr.go
+4
-4
addr_test.go
addr_test.go
+2
-2
No files found.
addr.go
View file @
cbc0086a
...
...
@@ -3,11 +3,11 @@ package addrutil
import
(
"fmt"
logging
"g
ithub.com/ipfs
/go-log"
logging
"g
x/ipfs/Qmazh5oNUVsDZTs2g59rq8aYQqwpss8tcUWQzor5sCCEuH
/go-log"
ma
"g
ithub.com/jbenet
/go-multiaddr"
manet
"g
ithub.com/jbenet
/go-multiaddr-net"
context
"g
olang.org/x/
net/context"
ma
"g
x/ipfs/QmR3JkmZBKYXgNMNsNZawm914455Qof3PEopwuVSeXG7aV
/go-multiaddr"
manet
"g
x/ipfs/QmYtzQmUwPFGxjCXctJ8e6GXS8sYfoXy2pdeMbS5SFWqRi
/go-multiaddr-net"
context
"g
x/ipfs/QmZy2y8t9zQH2a1b8q2ZSLKp17ATuJoCNxxyMFG5qFExpt/go-
net/context"
)
var
log
=
logging
.
Logger
(
"github.com/ipfs/go-libp2p/p2p/net/swarm/addr"
)
...
...
addr_test.go
View file @
cbc0086a
...
...
@@ -3,8 +3,8 @@ package addrutil
import
(
"testing"
ma
"g
ithub.com/jbenet
/go-multiaddr"
manet
"g
ithub.com/jbenet
/go-multiaddr-net"
ma
"g
x/ipfs/QmR3JkmZBKYXgNMNsNZawm914455Qof3PEopwuVSeXG7aV
/go-multiaddr"
manet
"g
x/ipfs/QmYtzQmUwPFGxjCXctJ8e6GXS8sYfoXy2pdeMbS5SFWqRi
/go-multiaddr-net"
)
func
newMultiaddr
(
t
*
testing
.
T
,
s
string
)
ma
.
Multiaddr
{
...
...
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