Commit 0108968e authored by Brian Tiger Chow's avatar Brian Tiger Chow

feat(util/time) impl RFC3339Nano UTC utility Format/Parse functions

test(time)
expose time format var
rename time format
misc(util/time) don't need this anymore

License: MIT
Signed-off-by: default avatarBrian Tiger Chow <brian@perfmode.com>
parent a11c59dc
package log
import "time"
// Time returns a nanosecond-precision timestamp in zone UTC
func Time() string {
return time.Now().UTC().Format(time.RFC3339Nano)
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment