FormatTS rounds up the given timestamp to the microsecond so as to make the times in the responses consistent
(ts time.Time)
| 22 | // FormatTS rounds up the given timestamp to the microsecond |
| 23 | // so as to make the times in the responses consistent |
| 24 | func FormatTS(ts time.Time) time.Time { |
| 25 | return ts.UTC().Round(time.Microsecond) |
| 26 | } |
no outgoing calls