(t int64)
| 12 | ) |
| 13 | |
| 14 | func makeTime(t int64) time.Time { |
| 15 | if t <= 0 { |
| 16 | return time.Time{} |
| 17 | } |
| 18 | return time.Unix(t/1000, (t%1000)*int64(time.Millisecond)).UTC() |
| 19 | } |
| 20 | |
| 21 | func timestamp(t time.Time) int64 { |
| 22 | if t.IsZero() { |
no outgoing calls
no test coverage detected