boltdb/bolt — pull request #145 by benbjohnson (2014-04-29 13:28:44+00:00)
Title: Add Tx.Cursor().

This commit adds the Cursor() function to Tx. This allows iteration on the root bucket in a similar way to iteration on other buckets.

Note: This does expose the root bucket via `tx.Cursor().Bucket()`. I'm not sure I want to add code to prevent `Put()` against the root bucket in such a round-about way.

Fixes #141.

---

/cc @tv42