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

main.go:3:8: cannot find package "tmpprotos" #38

Open
D-Alex opened this issue Oct 16, 2017 · 1 comment
Open

main.go:3:8: cannot find package "tmpprotos" #38

D-Alex opened this issue Oct 16, 2017 · 1 comment

Comments

@D-Alex
Copy link
Contributor

D-Alex commented Oct 16, 2017

This happens if GOPATH is not set. On Mac OS the default behavior is to use ~/go if GOPATH is not set. I am not sure this is the case for all go installations.

Workaround:
set GOPATH

@awalterschulze
Copy link
Member

Yes. I guess I never considered a GOPATH that is not set.

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