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

Support for multiple $GOPATHs? #3

Open
eduncan911 opened this issue Jan 12, 2017 · 3 comments
Open

Support for multiple $GOPATHs? #3

eduncan911 opened this issue Jan 12, 2017 · 3 comments

Comments

@eduncan911
Copy link

eduncan911 commented Jan 12, 2017

go-quick-import was working perfectly fine with my previous standard GOPATH=~/go. And thank you for this awesome extension! Makes me feel right at $HOME.

Recently I switched to multiple paths in GOPATH to clean up my imports vs multiple local repositories I contribute to (about 13 repos, out of the 80+ or so Go imports I have). Makes it much cleaner:

GOPATH=~/.go:~/go

I have done this so normal go get ... commands will put the package in the /.go folder by default. But my CDPATH and actual contributions are in ~/go, easily browsable now.

I just noticed when I did this and restarted Atom normally from Bash in a project folder that go-quick-import only seems to be showing stdlib packages now. Mostly likely following $GOROOT settings.

I'll try to debug more over the weekend. But I suspect that go-quick-import doesn't support multiple paths in GOPATH?

@eduncan911
Copy link
Author

Nevermind. While potentially still an issue with this extension, I found too many issues with other tooling that forces me back to the standard one-path GOPATH.

Doh.

@mastercactapus
Copy link
Owner

Just as well, give v0.3.0 a shot so we can close this out. I appreciate you taking the time to report this!

@eduncan911
Copy link
Author

eduncan911 commented Jan 16, 2017

Havent had a chance to test this over the long weekend.. Will eventually throughout the week.

It's just there were so many errors with other tooling and plugins across many editors. But, I'll verify this one works soon!

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