aboutsummaryrefslogtreecommitdiff
path: root/const.go
diff options
context:
space:
mode:
Diffstat (limited to 'const.go')
-rw-r--r--const.go16
1 files changed, 5 insertions, 11 deletions
diff --git a/const.go b/const.go
index c97578c..71762db 100644
--- a/const.go
+++ b/const.go
@@ -1,14 +1,8 @@
package main
-// Defined as var to prevent from using them as const as I want to keep
-// beeing able to change tkem at runtime.
-var (
- chunkSize = 8 << 10
- chunksName = "chunks"
- chunkIdFmt = "%015d"
- versionFmt = "%05d"
- filesName = "files"
- sketchWSize = 32
- sketchSfCount = 3
- sketchFCount = 4
+const (
+ chunksName = "chunks"
+ chunkIdFmt = "%015d"
+ versionFmt = "%05d"
+ filesName = "files"
)