104 words, 1 min read
⚠️ This post links to an external website. ⚠️
The
go fixis re-implemented using the Go analysis framework — the same onego vetuses.While
go fixandgo vetnow use the same infrastructure, they have different purposes and use different sets of analyzers:
- Vet is for reporting problems. Its analyzers describe actual issues, but they don't always suggest fixes, and the fixes aren't always safe to apply.
- Fix is (mostly) for modernizing the code to use newer language and library features. Its analyzers produce fixes are always safe to apply, but don't necessarily indicate problems with the code.
See the full set of fix's analyzers in the Analyzers section.
continue reading on antonz.org
If this post was enjoyable or useful for you, please share it! If you have comments, questions, or feedback, you can email my personal email. To get new posts, subscribe use the RSS feed.