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

Big God, May ask How to build all the source? #24

Closed
lucasjinreal opened this issue Jun 1, 2017 · 3 comments
Closed

Big God, May ask How to build all the source? #24

lucasjinreal opened this issue Jun 1, 2017 · 3 comments

Comments

@lucasjinreal
Copy link

I want build it as a single binary executable file, so I run go build just inside dht/ but, it says:can't load package: package dht: cannot find package "dht" in any of: /usr/local/Cellar/go/1.8.1/libexec/src/dht (from $GOROOT) /Users/jintian/go/src/dht (from $GOPATH) , What should I do?

@shiyanhui
Copy link
Owner

go get github.com/shiyanhui/dht/sample/spider

@lucasjinreal
Copy link
Author

I using go get github.com/shiyanhui/dht, the source code download into $HOME/go/src, but I can not import from my own project, can not find github.com/...., I tried go install not work. How to let IDE can import your project?

@lucasjinreal
Copy link
Author

Hi, sorry for disturb, I build that spider, but, when runing, I got no result output, what I miss?

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