RichardKnop/go-oauth2-server

dependent package errors

eric-hon opened this issue · 4 comments

make update-deps:
godep: Package (golang.org/x/net/context) not found

make install-deps:
unrecognized import path "golang.org/x/crypto/bcrypt
unrecognized import path "golang.org/x/crypto/blowfish"
unrecognized import path "golang.org/x/net/context"

and how to solved it ?

Do you have Go environment setup properly?

What do you see here:

ls $GOPATH/src

There should be golang.org forder there which contains some core crypto libraries.

No found golang.org forder

the Go environment is correct:
export GOROOT=/usr/local/go
export GOPATH=/home/eric/go
export PATH=$GOROOT/bin:$GOPATH/bin:$PATH

put the link golang.org/x/net/context to webbrowser,display is "no found the web" and then redirect to https://godoc.org/golang.org/x/net/context

i see, that's ok!