cdb.go is a Go package to read and write cdb ("constant database") files.
See the original cdb specification and C implementation by D. J. Bernstein at http://cr.yp.to/cdb.html.
Assuming you have a working Go environment, installation is simply:
goinstall github.com/jbarham/cdb.go
Once installed, do godoc github.com/jbarham/cdb.go
to view the package's
documentation.
The included self-test program cdb_test.go
illustrates usage of the package.
The cdb.go package includes ports of the programs cdbdump
and cdbmake
from
the original implementation. Do make -f Makefile.bin
to make them from the cdb.go directory.