db
==
db
is a Go package that provides a simple
cgo wrapper to BSD’s BSD’s
dbopen(3),
which is an implementation of Berkeley DB 1.85.
Currently only the hash format
(as described in
hash(3))
is implemented
(via OpenHash
).
It was written to access the key3.db
file used by Firefox to store passwords.
It is sufficient for that kind of task
(access to pre-existing databases)
but there are probably much better choices when picking a database to use
for new applications where backwards compatibility with db is not required.
Online package documentation is available via
https://godoc.org/bitbucket.org/dchapes/db.
To install:
go get bitbucket.org/dchapes/db
or go build
any Go code that imports it:
import “bitbucket.org/dchapes/db”