Today I renamed a type in the exported API of one of my packages by writing this short diff. Then I ran “go fix”, and it updated my code.
Of course, IDEs have rename. But with the type alias, all dependencies keep working. And users can run “go fix” to update their code too!
go.dev/blog/gofix