Versions in this module Expand all Collapse all v1 v1.0.1 Aug 23, 2023 Changes in this version + const CEpoch + const CSequenceBits + const CWorkerIDBits + type IDWorker struct + func NewIDWorker(workerID int64) (*IDWorker, error) + func (iw *IDWorker) NextID() (ts int64, err error)