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
6ab668f0
Commit
6ab668f0
authored
Nov 18, 2015
by
Jeromy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
migrate to gx namespace
parent
e68de32a
Changes
2
Show 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 @
6ab668f0
...
...
@@ -3,11 +3,11 @@ package addrutil
import
(
"fmt"
logging
"
QmWRypnfEwrgH4k93KEHN5hng7VjKYkWmzDYRuTZeh2Mgh
/go-log"
logging
"
gx/QmfZZB1aVXWA4kaR5R4e9NifERT366TTCSagkfhmAbYLsu
/go-log"
manet
"
QmRCPT5WRph8aWXmaT2Rfn6ac98YRUUJnNURpD3hNAWp4f
/go-multiaddr-net"
context
"QmacZi9WygGK7Me8mH53pypyscHzU386aUZXpr28GZgUct/context
"
ma
"QmbWxL1aXQhBjc1XGjGF1f2KGBMCBYSuT2ThA8YXnXJK83/go-multiaddr
"
manet
"
gx/QmNT7d1e4Xcp3KcsvxyzUHVtqrR43uypoxLLzdKj6YZga2
/go-multiaddr-net"
ma
"gx/QmVUi2ncqnU48zsPgR1rQosDGwY3SSZ1Ndp33j33YjXdsj/go-multiaddr
"
context
"gx/QmacZi9WygGK7Me8mH53pypyscHzU386aUZXpr28GZgUct/context
"
)
var
log
=
logging
.
Logger
(
"github.com/ipfs/go-libp2p/p2p/net/swarm/addr"
)
...
...
addr_test.go
View file @
6ab668f0
...
...
@@ -3,8 +3,8 @@ package addrutil
import
(
"testing"
manet
"
QmRCPT5WRph8aWXmaT2Rfn6ac98YRUUJnNURpD3hNAWp4f
/go-multiaddr-net"
ma
"
QmbWxL1aXQhBjc1XGjGF1f2KGBMCBYSuT2ThA8YXnXJK83
/go-multiaddr"
manet
"
gx/QmNT7d1e4Xcp3KcsvxyzUHVtqrR43uypoxLLzdKj6YZga2
/go-multiaddr-net"
ma
"
gx/QmVUi2ncqnU48zsPgR1rQosDGwY3SSZ1Ndp33j33YjXdsj
/go-multiaddr"
)
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