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

goimports not importing internal packages when working outside of GOPATH #928

cgilling opened this issue May 9, 2019 · 0 comments


None yet
1 participant
Copy link

commented May 9, 2019

I was recently debugging a problem with goimports not working properly and found it wasn't working quite right when working with modules outside of the gopath, specifically importing internal packages within your module. I created a quick fix for this for anyone who has this problem as well. (I haven't done a PR because I think the problem is actually in goimports code, but I got it working and haven't had the time to dig into goimports code)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.