diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-05-05 07:58:53 -0600 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-05-05 07:58:53 -0600 |
commit | 6133ecb878b8ae6a7c8c9335c4e6ad2c64090d57 (patch) | |
tree | 504e0dcfc35536f7f9023aca59895c653bf68bee /const.go | |
parent | Merge pull request #152 from benbjohnson/remove-bolt-set (diff) | |
parent | Consolidate code for clarity. (diff) | |
download | dedo-6133ecb878b8ae6a7c8c9335c4e6ad2c64090d57.tar.gz dedo-6133ecb878b8ae6a7c8c9335c4e6ad2c64090d57.tar.xz |
Merge pull request #153 from benbjohnson/consolidate
Consolidate code for clarity.
Diffstat (limited to 'const.go')
-rw-r--r-- | const.go | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/const.go b/const.go deleted file mode 100644 index 4669347..0000000 --- a/const.go +++ /dev/null @@ -1,18 +0,0 @@ -package bolt - -const version = 2 - -const ( - maxUint = ^uint(0) - minUint = 0 - maxInt = int(^uint(0) >> 1) - minInt = -maxInt - 1 -) - -const ( - // MaxKeySize is the maximum length of a key, in bytes. - MaxKeySize = 32768 - - // MaxValueSize is the maximum length of a value, in bytes. - MaxValueSize = 4294967295 -) |