Skip to content

Conversation

@mgumz
Copy link

@mgumz mgumz commented Nov 23, 2014

I added an interface to cdb.Get to port 'cdbget' to Golang. I also tweaked the cdb_test.go a little bit by implementing a []byte-backed io.WriteSeeker to avoid any filesystem related dependencies while running tests.

Mathias Gumz and others added 5 commits November 23, 2014 15:58
This commit adds the [cdbget][1] program as described by DJB.

[1] http://cr.yp.to/cdb/cdbget.html
By provding a very simple io.WriteSeeker-implementation (memFile)
the need to write/read real files in the testing code is gone.

Instead of having one big test function I splitted it into a bunch of
topic-related ones.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant