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-loggables
Commits
9b727192
Unverified
Commit
9b727192
authored
7 years ago
by
Steven Allen
Committed by
GitHub
7 years ago
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #16 from libp2p/fix/update-uuid
update go.uuid
parents
879a962c
2cdf06c8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
loggables.go
loggables.go
+5
-1
package.json
package.json
+2
-2
No files found.
loggables.go
View file @
9b727192
...
...
@@ -31,8 +31,12 @@ func Error(e error) logging.Loggable {
}
func
Uuid
(
key
string
)
logging
.
Metadata
{
ids
:=
"#UUID-ERROR#"
if
id
,
err
:=
uuid
.
NewV4
();
err
!=
nil
{
ids
=
id
.
String
()
}
return
logging
.
Metadata
{
key
:
uuid
.
NewV4
()
.
String
()
,
key
:
ids
,
}
}
...
...
This diff is collapsed.
Click to expand it.
package.json
View file @
9b727192
...
...
@@ -27,9 +27,9 @@
},
{
"author"
:
"satori"
,
"hash"
:
"Qmc
yaFHbyiZfoX5GTpcqqCPYmbjYNAhRDekXSJPFHdYNSV
"
,
"hash"
:
"Qmc
BWojPoNh4qm7zvv4qiepvCnnc7ALS9qcp7TNwwxT1gT
"
,
"name"
:
"go.uuid"
,
"version"
:
"1.
0
.0"
"version"
:
"1.
1
.0"
}
],
"gxVersion"
:
"0.4.0"
,
...
...
This diff is collapsed.
Click to expand it.
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