From 2de34c77748c8c25ad37740e4279a8104694493d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Werner?= Date: Wed, 19 Oct 2022 09:20:26 +0200 Subject: [PATCH] Add timestamp calculation functionality --- time.go | 1 + 1 file changed, 1 insertion(+) 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 )