go的for本来就可以当while用,你模拟do-while也就算了,模拟while是个什么鬼?你不会直接把条件写到for后面嘛?
	count := 0
	for count < 10 {
		fmt.Println("hello,world", count)
		count++
	}
    
go中模拟while和do……while循环大家都知道go没有提供while和do……while这两种循环,只提供了灵活的for循环机制,那如果有类似while或do while的循环需求,怎么做呢,下面我们就用for...
 
 
 
 
