Introducing Badger: A fast key-value store written natively in Go - Dgraph Blog

Hi Howard

I am Deepak from Dgraph, and I am currently writing some code to benchmark lmdb (via lmdb-go bindings) and Badger. I have written small functions to benchmark some simple operations.

Do you think you could take a look at snippets of Go code below and let me know if I am doing something egregiously wrong when I am using the API exposed by LMDB? Thank you in advance!