Refactor versionguardcheck onto golang.org/x/tools/go/analysis
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 431
- Forks
- 44
- Avg merge
- 21h 18m
- Merged PRs (30d)
- 30
Description
versionguardcheck is currently a hand-rolled Go program
Expose the analyzer as an analysis.Analyzer, replace main with singlechecker.Main, and swap our custom test code for analysistest. Adds golang.org/x/tools as the repo's first external dep.
Follow up for
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the existing versionguardcheck program and its custom tests. Review the golang.org/x/tools/go/analysis, singlechecker, and analysistest entry points, then confirm that the analyzer is exposed through analysis.Analyzer, main uses singlechecker.Main, and the tests use analysistest with the new dependency recorded.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100