Skip to content
This repository was archived by the owner on May 14, 2022. It is now read-only.

cmd/check: Make parsing cleaner by leveraging 'mod' #3

Merged
merged 4 commits into from
Aug 9, 2019

Conversation

radeksimko
Copy link
Member

golang/go#31761 may take a while to resolve, but I forked https://github.com/golang/mod which contains the most up-to-date efforts so far and copied over the missing modfile package.

I think this is as clean as we can make it for now.

There are no tests to verify my patch didn't break anything, which is probably task for another PR, but I promise I checked by compiling and running check on terraform-provider-vault (which has go.mod with Go version.

@radeksimko radeksimko requested a review from a team August 7, 2019 10:02
@radeksimko radeksimko force-pushed the cmd-check-cleaner-modfile-parser branch from 734fd7f to 4d370a5 Compare August 7, 2019 10:34
Copy link
Contributor

@appilon appilon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but I have not played with the tool yet :shame:

@radeksimko radeksimko merged commit af3309d into master Aug 9, 2019
@radeksimko radeksimko deleted the cmd-check-cleaner-modfile-parser branch August 9, 2019 16:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants