摘要: 参考:cnblogs.com/aaronthon/p/10946433.html 例子1 package main import "fmt" func main() { ch := make(chan int, 5) ch <- 1 ch <- 2 ch <- 4 ch <- 10 close(ch 阅读全文
posted @ 2023-10-08 10:55 坚强的小蚂蚁 阅读(14) 评论(0) 推荐(0) 编辑