Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid paths #16

Closed
ghost opened this issue May 15, 2019 · 3 comments
Closed

Invalid paths #16

ghost opened this issue May 15, 2019 · 3 comments

Comments

@ghost
Copy link

ghost commented May 15, 2019

I wanted to try this db with the memory example but it fails to run because it expects paths to be
"devt.de/..." instead of "github.com/krotik/eliasdb/...".

You should update the project's structure so it can be used as library.

@Wulfheart
Copy link

May you provide a pull request?

@krotik
Copy link
Owner

krotik commented Jun 8, 2019

Hi there,

the expected path devt.de/eliasdb/... is indeed correct. The code "lives" there - I do not use github as a primary code repository but merely as a mirror / backup.

I assume you did a go get github.com/krotik/eliasdb/... which results in many "unrecognized import path" errors. As described in the README.md under "Building EliasDB" do this:
go get devt.de/common/... devt.de/eliasdb/...
go build devt.de/eliasdb/cli

The code should be fetched with the correct paths.

PS: You will find that also golang uses github just as a mirror. See for example this code from their experimental packages: https://github.com/golang/exp/blob/master/shiny/driver/driver.go

@krotik krotik closed this as completed Jun 8, 2019
@ghost
Copy link
Author

ghost commented Jun 11, 2019

I have since moved to DGraph but good to know.

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

No branches or pull requests

2 participants