#Go 1.26 revived the "go fix" command to migrate older APIs to the latest ones. Super satisfying to run it on a large codebase and see it purge all the old cruft. Blog post: rednafi.com/go/gofix/
rednafi.comModernizers & go fixGo 1.26 rebuilt go fix on the analysis framework. It modernizes your code and respects the Go version your module declares. The post covers the modernizers, the bigger x/tools suite, and what //go:fix inline can and can't migrate.
0 reposts2 likes