Gehen Sie während

//In Go while is replaced by just using for
counter:=1
for counter < 10 {
	//Do something
  	counter++
}
Armandres