Xi Ruoyao
|
9418b3fdda
|
unix: add function for converting time.Time to Timespec
Add function TimeToTimespec for converting time.Time to Timespec.
Fixes golang/go#23078.
Change-Id: I685a4871d49131191f330b56b15bfd4f3131a9a5
Reviewed-on: https://go-review.googlesource.com/82919
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
|
2017-12-13 16:20:35 +00:00 |
|