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

Use build tags while loading the import package list too #78

Merged

Conversation

zimmski
Copy link
Contributor

@zimmski zimmski commented Aug 14, 2015

This relates to kisielk/gotool#6

errcheck support build tages but this does not apply to the "..." pattern if the build tags are not forwarded to the loading of the import list.

@kisielk
Copy link
Owner

kisielk commented Aug 14, 2015

Hm, but this is only used for finding imports, not for enumerating their files. Is the problem that some packages have no go files without build tags?

@zimmski zimmski force-pushed the use-build-tags-for-the-import-list-too branch from aec102a to f734bf3 Compare August 14, 2015 21:52
@zimmski
Copy link
Contributor Author

zimmski commented Aug 14, 2015

Yes, that is exactly the problem I want to solve. I should have been more clear on that, sorry.

kisielk added a commit that referenced this pull request Aug 15, 2015
…t-too

Use build tags while loading the import package list too
@kisielk kisielk merged commit 5305053 into kisielk:master Aug 15, 2015
@kisielk
Copy link
Owner

kisielk commented Aug 15, 2015

Thanks 👍

@zimmski zimmski deleted the use-build-tags-for-the-import-list-too branch August 15, 2015 15:36
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

Successfully merging this pull request may close these issues.

2 participants