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
mf
go-multiaddr
Commits
9547d0a0
Commit
9547d0a0
authored
Mar 30, 2021
by
Marten Seemann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unused field in net.CodecMap
parent
5e60d16f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
net/registry.go
net/registry.go
+0
-1
No files found.
net/registry.go
View file @
9547d0a0
...
@@ -31,7 +31,6 @@ func init() {
...
@@ -31,7 +31,6 @@ func init() {
// It is used to keep a list of supported network address codecs (protocols
// It is used to keep a list of supported network address codecs (protocols
// which addresses can be converted to and from multiaddresses).
// which addresses can be converted to and from multiaddresses).
type
CodecMap
struct
{
type
CodecMap
struct
{
codecs
map
[
string
]
*
NetCodec
addrParsers
map
[
string
]
FromNetAddrFunc
addrParsers
map
[
string
]
FromNetAddrFunc
maddrParsers
map
[
string
]
ToNetAddrFunc
maddrParsers
map
[
string
]
ToNetAddrFunc
lk
sync
.
Mutex
lk
sync
.
Mutex
...
...
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