|
|
|
|
|
by shurcooL
3422 days ago
|
|
`staticcheck` will statically analyze your code and suggest all places where the new conversion rule can be applied. All the other rules are same as the last 7 years, you know them through experience after using Go for a week. Way simpler than most other languages. That go fix command can be typed once and update millions of lines of code. Pretty simple. |
|
You also meant to say the go fix command does a lot (which is great), not that calling it is simple (which is not great).