aboutsummaryrefslogtreecommitdiff
path: root/const.go
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2014-04-11 15:11:55 -0600
committerBen Johnson <benbjohnson@yahoo.com>2014-04-11 15:11:55 -0600
commit2c8020ec8e98e7b6c6c0fd3bd6e91d41caf7f25a (patch)
tree125c24e03c653417ce8bf5965b7fbcbeb2dedb04 /const.go
parentMerge pull request #128 from benbjohnson/import-export (diff)
parentUpgrade import/export to use nested buckets. (diff)
downloaddedo-2c8020ec8e98e7b6c6c0fd3bd6e91d41caf7f25a.tar.gz
dedo-2c8020ec8e98e7b6c6c0fd3bd6e91d41caf7f25a.tar.xz
Merge pull request #127 from benbjohnson/nested-keys
Add nested buckets.
Diffstat (limited to 'const.go')
-rw-r--r--const.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/const.go b/const.go
index 00228be..4669347 100644
--- a/const.go
+++ b/const.go
@@ -1,6 +1,6 @@
package bolt
-const version = 1
+const version = 2
const (
maxUint = ^uint(0)
@@ -10,9 +10,6 @@ const (
)
const (
- // MaxBucketNameSize is the maximum length of a bucket name, in bytes.
- MaxBucketNameSize = 255
-
// MaxKeySize is the maximum length of a key, in bytes.
MaxKeySize = 32768