Skip to content

Support for multiple $GOPATHs? #3

Description

@eduncan911

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions