mirror of https://github.com/ledisdb/ledisdb.git
b36d4aba37
godep can not handle some pkgs which have build tags So we put these into vendor explicitly |
||
---|---|---|
.. | ||
LICENSE | ||
README.md | ||
bench_test.go | ||
cursor.go | ||
env.go | ||
env_test.go | ||
error_test.go | ||
example_test.go | ||
lmdb.h | ||
mdb.c | ||
mdb.go | ||
mdb_test.go | ||
midl.c | ||
midl.h | ||
txn.go | ||
val.go | ||
val_test.go |
README.md
gomdb
Go wrapper for OpenLDAP Lightning Memory-Mapped Database (LMDB). Read more about LMDB here: http://symas.com/mdb/
GoDoc available here: http://godoc.org/github.com/szferi/gomdb
Build
go get github.com/szferi/gomdb
There is no dependency on LMDB dynamic library.
On FreeBSD 10, you must explicitly set CC
(otherwise it will fail with a cryptic error), for example:
CC=clang go test -v
TODO
- write more documentation
- write more unit test
- benchmark
- figure out how can you write go binding for
MDB_comp_func
andMDB_rel_func
- Handle go
*Cursor
close withtxn.Commit
andtxn.Abort
transparently