Go 1.22 contains some cool features which will allow us to write simpler 
code.

Would it be possible for gofmt -s to help us do transformations which clean 
up old code such as 
for i := 0; i < n; i++   -> for i := range n
removing x := x assignments inside range loops
or updating code to use the new math/rand/v2 API?

If not, has anyone written any refactoring tools to do this?


-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/91a531a9-5043-4357-b643-d1600dcae119n%40googlegroups.com.

Reply via email to