diff --git a/time.go b/time.go index c5fcc3d..8ea13c2 100644 --- a/time.go +++ b/time.go @@ -9,6 +9,7 @@ import ( var ( timestampTimer sync.Once // Timestamp please start the timer function before you use this value + // please load the value with atomic `atomic.LoadUint32(&utils.Timestamp)` Timestamp uint32 )