diff options
Diffstat (limited to 'tai64n/tai64n.go')
-rw-r--r-- | tai64n/tai64n.go | 8 |
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 |