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

Does not work with go get #5

Closed
yilunzhang opened this issue Feb 1, 2019 · 2 comments
Closed

Does not work with go get #5

yilunzhang opened this issue Feb 1, 2019 · 2 comments

Comments

@yilunzhang
Copy link
Member

I was trying to write compile a piece of go code importing nkn-sdk-go on a fresh debian. What I did is very simple. First install nkn-sdk-go with "go get"

go get github.com/nknorg/nkn-sdk-go

Then compile a simple go project using nkn-sdk-go and get the following error:

../go/src/github.com/nknorg/nkn/common/common.go:15:2: code in directory /home/xxx/go/src/github.com/golang/crypto/ripemd160 expects import "golang.org/x/crypto/ripemd160"
../go/src/github.com/nknorg/gopass/terminal.go:3:8: code in directory /home/xxx/go/src/github.com/golang/crypto/ssh/terminal expects import "golang.org/x/crypto/ssh/terminal"

I don't think it's a problem of nkn-sdk-go but it will definitely affect people trying out nkn-sdk-go since it's the most convenient way to quickly try it out.

@trueinsider
Copy link
Collaborator

should work now

@yilunzhang
Copy link
Member Author

Confirmed working now

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