Using go fix to modernize Go code
Summary
The Go 1.26 release completely rewrites the go fix subcommand and brings the Go analysis framework to go fix. The article explains how to run go fix, preview changes with -diff, and select analyzers and fixers, with examples of modernizers like minmax, rangeint, and stringscut. It also discusses the self-service paradigm for user-defined modernizations and future infrastructure improvements.