for 循环中使用go routine,不能打印日志,是什么情况?
```go
package main
import (
"fmt"
)
func task(i int) {
fmt.Println(i)
}
func main() {
for i := 0; i < 5; i++ {
go task(i)
}
}
```
![image.png](https://static.studygolang.com/180521/bfa9dd1349cf1adaf7121a88c232b8f9)