Skip to content
Snippets Groups Projects
Commit 4db59d0d authored by Jonah Husson's avatar Jonah Husson
Browse files

make globals const instead of var

parent a474f1ca
Branches
Tags
No related merge requests found
......@@ -11,9 +11,9 @@ import (
"time"
)
var Period = int64(time.Hour * 24)
var NumOffsets int64 = 1 << 16
var NsPerOffset = Period / NumOffsets
const Period = int64(time.Hour * 24)
const NumOffsets int64 = 1 << 16
const NsPerOffset = Period / NumOffsets
// Ephemeral ID type alias
type Id [8]byte
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment