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
dms3
go-dms3
Commits
027de284
Commit
027de284
authored
Nov 11, 2014
by
Brian Tiger Chow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(log) time
parent
079bdbac
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
util/log/time.go
util/log/time.go
+8
-0
No files found.
util/log/time.go
0 → 100644
View file @
027de284
package
log
import
"time"
// Time returns a nanosecond-precision timestamp in zone UTC
func
Time
()
string
{
return
time
.
Now
()
.
UTC
()
.
Format
(
time
.
RFC3339Nano
)
}
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