diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-12-09 17:55:50 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-12-09 23:15:55 +0100 |
commit | 9c9e7e2724340280d0ca4ff29c067f2d144562c0 (patch) | |
tree | 239826ccafe70e5cee73936d9bcea8989dd33899 /tai64n | |
parent | 2dd424e2d808703339688ff78e32ed30cd0dfe87 (diff) |
global: apply gofumpt
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'tai64n')
-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 |