spencerkimball / stargazers

Analyze GitHub stars
Apache License 2.0
496 stars 41 forks source link

'use of internal package not allowed' #4

Open ianmiell opened 8 years ago

ianmiell commented 8 years ago

I'm not a go expert, but I have set up:

imiell@rothko:/space/git/stargazers$ env | grep GO
GOBIN=/space/go/bin
GOPATH=/space/go

but get:

imiell@rothko:/space/git/stargazers$ go get
package .
        imports github.com/spencerkimball/stargazers/cmd
        imports github.com/spencerkimball/stargazers/analyze
        imports github.com/cockroachdb/cockroach/util
        imports github.com/gengo/grpc-gateway/runtime
        imports github.com/grpc-ecosystem/grpc-gateway/runtime/internal: use of internal package not allowed

This is go version 1.6.2

ehernandez-xk commented 8 years ago

Same problem here. Trying to get the examples of https://github.com/philips/grpc-gateway-example

$ go get -u github.com/philips/grpc-gateway-example

I get:

package github.com/philips/grpc-gateway-example
    imports github.com/philips/grpc-gateway-example/cmd
    imports github.com/gengo/grpc-gateway/runtime
    imports github.com/grpc-ecosystem/grpc-gateway/runtime/internal: use of internal package not allowed
go version go1.6 darwin/amd64

GOPATH="/Users/mypc/workspace/go"

GOBIN="/Users/mypc/workspace/go/bin"
ehernandez-xk commented 8 years ago

@ianmiell did you fixed? it looks like the gengo changed to grpc-ecosystem, try to change it and re-generate the stub.

ianmiell commented 8 years ago

Nope, did not fix and don't know what you mean! Do you mean hack the code somewhere?

On Thu, Jul 28, 2016 at 9:56 PM, Eddy notifications@github.com wrote:

@ianmiell https://github.com/ianmiell did you fixed? it looks like the gengo changed to grpc-ecosystem, try to change it and re-generate the stub.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/spencerkimball/stargazers/issues/4#issuecomment-236022737, or mute the thread https://github.com/notifications/unsubscribe-auth/AGrczfhY_VQVdAQqjrAbHYGogodQryRYks5qaReIgaJpZM4JOCgm .

My book on Docker in Practice: Get 39% off with the code 39miell http://manning.com/miell/?a_aid=zwischenzugs&a_bid=e0d48f62