GoogleCloudPlatform / go-endpoints

Cloud Endpoints for Go
https://go-endpoints.appspot.com
Apache License 2.0
255 stars 56 forks source link

Error while go-getting: use of internal package not allowed #118

Closed hinoka closed 8 years ago

hinoka commented 8 years ago

Go get returns this error:

$ go get github.com/GoogleCloudPlatform/go-endpoints/endpoints package github.com/GoogleCloudPlatform/go-endpoints/endpoints imports google.golang.org/appengine/internal: use of internal package not allowed package github.com/GoogleCloudPlatform/go-endpoints/endpoints imports google.golang.org/appengine/internal/user: use of internal package not allowed

bradfitz commented 8 years ago

You're running "go get" from the wrong path.

But the bug is this package should have that more explicitly declared so you get a good error message.

/cc @okdave @rakyll @gmlewis

hinoka commented 8 years ago

Do you mean I'm using the wrong version of go, or my cwd is wrong?

bradfitz commented 8 years ago

Francesc, can you handle this? Both answering the question and adding import comments if needed? (aren't we using cloud.golang.org/... custom import path for these?)

campoy commented 8 years ago

The path is correct, but you need to use goapp get instead of go get

To install goapp download the Go SDK for App Engine here

EVILoptimist commented 8 years ago

looks like goapp doesn't work either as of the App Engine update to 1.6. Looks like there are a couple issues and PRs out there. #101 #114 #131