摘要: package main import ( "fmt" ) func main() { //构建一个通道 ch1 := make(chan int) //开启一个匿名并发函数 go func() { fmt.Println("start goroutine") //通过通道通知main的gorout 阅读全文
posted @ 2022-11-22 20:31 蹇爱黄 阅读(33) 评论(0) 推荐(0)