Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Epoch indicates the unix epoch time for the current implementation in milliseconds. Epoch = 1577836800000 // 2020-01-01 00:00:00.000 // InvalidID indicates the invalid ID. InvalidID = 0 )
Variables ¶
This section is empty.
Functions ¶
func Timestamp ¶
Timestamp returns the timestamp field (Unix timestamp) in milliseconds of the given ID relative to Epoch.
func TimestampABS ¶
TimestampABS returns the absolute timestamp field (Unix timestamp) in milliseconds.
Types ¶
Click to show internal directories.
Click to hide internal directories.