Unix wraps time.Unix ensuring that the result is in UTC instead of Local.
(sec, nsec int64)
| 50 | |
| 51 | // Unix wraps time.Unix ensuring that the result is in UTC instead of Local. |
| 52 | func Unix(sec, nsec int64) time.Time { |
| 53 | return time.Unix(sec, nsec).UTC() |
| 54 | } |
| 55 | |
| 56 | // SleepUntil sleeps until the given time. The current time is |
| 57 | // refreshed every second in case there was a clock jump |
no outgoing calls
no test coverage detected
searching dependent graphs…