diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-06-12 09:23:30 -0600 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-06-12 09:23:30 -0600 |
commit | 1c97a490dda8e8b8d3805fa6debccc34f32b540d (patch) | |
tree | 7d0a35f8becb520361016cb7c6551afe64c7ebf1 /doc.go | |
parent | Add Windows support. (diff) | |
download | dedo-1c97a490dda8e8b8d3805fa6debccc34f32b540d.tar.gz dedo-1c97a490dda8e8b8d3805fa6debccc34f32b540d.tar.xz |
Add Windows support.
This commit adds Windows support to Bolt. Windows memory maps return an address instead of a byte
slice so the DB.data field had to be refactored to be a pointer to a large byte array.
Diffstat (limited to 'doc.go')
-rw-r--r-- | doc.go | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -12,6 +12,9 @@ rolled back in the event of a crash. The design of Bolt is based on Howard Chu's LMDB database project. +Bolt currently works on Windows, Mac OS X, and Linux. + + Basics There are only a few types in Bolt: DB, Bucket, Tx, and Cursor. The DB is @@ -33,7 +36,5 @@ values returned from Bolt cannot be changed. Writing to a read-only byte slice will cause Go to panic. If you need to work with data returned from a Get() you need to first copy it to a new byte slice. -Bolt currently works on Mac OS and Linux. Windows support is coming soon. - */ package bolt |