Simon introduces Go tools to modernize codebases and keep up with new Go releases:
- gofmt -r for pattern-based text rewrites, such as moving encoding/json to encoding/json/v2 .
- gopls from the command line for renames and other refactors that use type information.
- go fix
, with its modernize analyzers
and
//go:fix inlinefor replacing deprecated functions, constants and types.
