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
1ee2f814
Commit
1ee2f814
authored
Dec 06, 2015
by
Jeromy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WIP
parent
6ab668f0
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 @
1ee2f814
...
...
@@ -3,11 +3,11 @@ package addrutil
import
(
"fmt"
logging
"g
x/QmfZZB1aVXWA4kaR5R4e9NifERT366TTCSagkfhmAbYLsu
/go-log"
logging
"g
ithub.com/ipfs
/go-log"
ma
net
"gx/QmNT7d1e4Xcp3KcsvxyzUHVtqrR43uypoxLLzdKj6YZga2
/go-multiaddr
-net
"
ma
"gx/QmVUi2ncqnU48zsPgR1rQosDGwY3SSZ1Ndp33j33YjXdsj
/go-multiaddr"
context
"g
x/QmacZi9WygGK7Me8mH53pypyscHzU386aUZXpr28GZgUc
t/context"
ma
"github.com/jbenet
/go-multiaddr"
ma
net
"github.com/jbenet
/go-multiaddr
-net
"
context
"g
olang.org/x/ne
t/context"
)
var
log
=
logging
.
Logger
(
"github.com/ipfs/go-libp2p/p2p/net/swarm/addr"
)
...
...
addr_test.go
View file @
1ee2f814
...
...
@@ -3,8 +3,8 @@ package addrutil
import
(
"testing"
ma
net
"gx/QmNT7d1e4Xcp3KcsvxyzUHVtqrR43uypoxLLzdKj6YZga2
/go-multiaddr
-net
"
ma
"gx/QmVUi2ncqnU48zsPgR1rQosDGwY3SSZ1Ndp33j33YjXdsj
/go-multiaddr"
ma
"github.com/jbenet
/go-multiaddr"
ma
net
"github.com/jbenet
/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