BerkeleyDB is a good old key value DB library.
goberkeleydb
is a BerkeleyDB binding for go.
BerkeleyDB library and the header files are required.
Please install them before run go get
.
For example:
# Debian
$ apt-get install libdb-dev
# RHEL
$ dnf install libdb-dev
# Mac OS X via homebrew
$ brew install berkeley-db
then, go get
$ go get -u github.com/ajiyoshi-vg/goberkeleydb/bdb
Some apis are not implemented yet. You can implement any ohter apis you need.