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
2cdf06c8
Commit
2cdf06c8
authored
7 years ago
by
Steven Allen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update go.uuid
The new version can return errors however, we don't want to deal with that...
parent
879a962c
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 @
2cdf06c8
...
...
@@ -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 @
2cdf06c8
...
...
@@ -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