package
0.0.0-20230614182919-c408d52fd12d
Repository: https://github.com/gsalomao/maxmq.git
Documentation: pkg.go.dev
# Functions
MachineID returns the machine identifier field in the given ID.
New creates an instance of the Snowflake.
Sequence returns the sequence number field in the given ID.
Timestamp returns the timestamp field (Unix timestamp) in milliseconds of the given ID relative to Epoch.
TimestampABS returns the absolute timestamp field (Unix timestamp) in milliseconds.