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

Go modules support #10

Merged
merged 2 commits into from
Feb 25, 2019
Merged

Go modules support #10

merged 2 commits into from
Feb 25, 2019

Conversation

kujenga
Copy link
Contributor

@kujenga kujenga commented Feb 24, 2019

This PR adds support for running this tool against Go modules.

With some of the new niceties in https://godoc.org/golang.org/x/tools/go/loader there may be some opportunities for further cleanup, but I've left that alone in this PR.

Testing on my machine, this looks to now be about twice as fast!

Closes #8

This commt is the first step towards switching to Go modules,
ref: BurntSushi#8
This commit adds Go modules support by switching to the new package that
supports them in the golang tools repository.

Closes BurntSushi#8
@kujenga
Copy link
Contributor Author

kujenga commented Feb 24, 2019

😄 now seeing #9 after opening this PR, closing this out in favor of that one.

@kujenga kujenga closed this Feb 24, 2019
@BurntSushi BurntSushi reopened this Feb 25, 2019
@BurntSushi BurntSushi mentioned this pull request Feb 25, 2019
@BurntSushi
Copy link
Owner

Awesome, thanks! It turns out that #9 isn't quite correct (see this comment), so I'm going to bring this one in instead!

@BurntSushi BurntSushi merged commit e93e76e into BurntSushi:master Feb 25, 2019
kujenga added a commit to kujenga/go-sumtype that referenced this pull request Feb 27, 2019
This commit expands the capabilities of the tool so
that it can check tests as well.

This may or may not have been a regression introduced
with: BurntSushi#10
BurntSushi pushed a commit that referenced this pull request Feb 27, 2019
This commit expands the capabilities of the tool so
that it can check tests as well.

This may or may not have been a regression introduced
with: #10
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