diff options
Diffstat (limited to 'const.go')
-rw-r--r-- | const.go | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -3,6 +3,13 @@ package bolt const version = 1 const ( + maxUint = ^uint(0) + minUint = 0 + maxInt = int(^uint(0) >> 1) + minInt = -maxInt - 1 +) + +const ( // MaxBucketNameSize is the maximum length of a bucket name, in bytes. MaxBucketNameSize = 255 |