timshannon / badgerhold

BadgerHold is an embeddable NoSQL store for querying Go types built on Badger
MIT License
514 stars 52 forks source link

Use BadgerDB v4 #92

Closed CADawg closed 1 year ago

CADawg commented 1 year ago

Had a look at updating this to badger v4.

image I think it's an issue with there being two badgers with this variable name but I'm not 100% sure.

To fix this I have removed the v3 tests so there's only one version of BadgerDB present, obviously if you still need these tests feel free to reject this PR. It passes all the v4 tests.

Thanks

timshannon commented 1 year ago

Looks great! Thanks for the PR.

CADawg commented 1 year ago

No worries, thanks for accepting it :+1: