krotik/eliasdb

`go mod tidy` error while using embed EliasDB

amirmm11 opened this issue · 1 comments

$ go mod init example.com/test
go: creating new go.mod: module example.com/test
$ go mod tidy
go: example.com/test imports
        github.com/krotik/eliasdb/eql: github.com/krotik/eliasdb@v1.2.0: parsing go.mod:
        module declares its path as: devt.de/krotik/eliasdb
                but was required as: github.com/krotik/eliasdb

The only way that I could fix it was by cloning the repo and added
go mod edit -replace github.com/krotik/eliasdb=../eliasdb

used go get github.com/krotik/eliasdb@master and the problem is fixed