摘要: package main import ( "fmt" "sync" ) var wg sync.WaitGroup func hello(i int) { defer wg.Done() fmt.Print(i, "hello hello\n") } func main() { for i := 阅读全文
posted @ 2022-07-10 12:01 leo0362 阅读(17) 评论(0) 推荐(0) 编辑