Closed lowewenzel closed 5 years ago
Maybe related @toesterdahl's PR #10? I'm not touching badger at all
Hello, are you using go modules
?
@mishudark just the normal go get github.com/mishudark/eventhus
actually, if you perform go get github.com/mishudark/eventhus
it will download the master
branch of every dependency, in this case, badger
on the master branch is in v2 RC1
state, the solution should be activated gomod
in order to use the predefined versions used by eventhus
GO111MODULE=on
go get github.com/mishudark/eventhus
Still no luck :/
I moved the bank example out of the examples folder to test this, getting the same error. Also tried removing the packages from my GOPATH and then reinstalling then.
what go version are you using? go version
go version go1.12.3 darwin/amd64
sorry, I miss to put export
in the previous example, could you try again, please ?
export GO111MODULE=on
go get github.com/mishudark/eventhus
This worked! Thank you!
Currently trying to use this library gives me this error when running:
What's interesting is that when I try to run the example bank application from a cloned github repo, it works fine. But if I separate the example from the repo folder or make my own implementation, I constantly get this error.