summaryrefslogtreecommitdiffhomepage
path: root/tai64n
diff options
context:
space:
mode:
Diffstat (limited to 'tai64n')
-rw-r--r--tai64n/tai64n.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/tai64n/tai64n.go b/tai64n/tai64n.go
index e1fa26a..de0f5bf 100644
--- a/tai64n/tai64n.go
+++ b/tai64n/tai64n.go
@@ -11,9 +11,11 @@ import (
"time"
)
-const TimestampSize = 12
-const base = uint64(0x400000000000000a)
-const whitenerMask = uint32(0x1000000 - 1)
+const (
+ TimestampSize = 12
+ base = uint64(0x400000000000000a)
+ whitenerMask = uint32(0x1000000 - 1)
+)
type Timestamp [TimestampSize]byte