Closed harshpreet93 closed 4 years ago
I know at one point, dgraph updated their default options interface, and broke backwards compatibility. See https://github.com/timshannon/badgerhold/issues/12. I updated to their latest, and changed the code to reflect their changes.
I'm betting you might still have an older version of badger installed. Try running go get -u
and trying again.
@timshannon that was the issue! 🙇Closing this now
I'm trying to run the tests and getting the following error:
# github.com/timshannon/badgerhold ./store.go:48:41: cannot call non-function badger.DefaultOptions (type badger.Options) FAIL github.com/timshannon/badgerhold [build failed]
Am I doing something wrong here?