Y
Hacker News
new
|
ask
|
show
|
jobs
by
Grokify
307 days ago
A good example is io/ioutil. It's useful to migrate to eliminate the deprecation messages, but you don't need to do it right away.
1 comments
majewsky
307 days ago
Also, most of this can be automated with `go install golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest && modernize -fix ./...`
link