From 1c97a490dda8e8b8d3805fa6debccc34f32b540d Mon Sep 17 00:00:00 2001 From: Ben Johnson Date: Thu, 12 Jun 2014 09:23:30 -0600 Subject: 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. --- doc.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'doc.go') diff --git a/doc.go b/doc.go index caf66e9..b127f59 100644 --- a/doc.go +++ b/doc.go @@ -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 -- cgit v1.2.3