This package provides an implementation of a concurrent paged disk BTree. I created this package for other projects I am working on. I wanted a simple, easy-to-use disk BTree that I could use in my projects and now hopefully yours. Feel free to drop a PR or an issue if you have any suggestions or improvements.
You can create a new BTree by calling the NewBTree function and passing in the path to the database file, the permissions for the file, and the order of the BTree.