mini=; cat fmt1.go
package main
func main() {
/*
prints test 5 times
*/
for i := 0; i < 5; i++ {
println("test")
}
}
mini=; cat fmt1.go | gofmt
package main
func main() {
/*
prints test 5 times
*/
for i := 0; i < 5; i++ {
println("test")
}
}
mini=; cat fmt1.go | gofmt | gofmt
package main
func main() {
/*
prints test 5 times
*/
for i := 0; i < 5; i++ {
println("test")
}
}
mini=;
It does stabilize at that point.
Pointed out on golang-nuts by Mustafa Zengin <mzengin88@gmail.com>