摘要:
package main import "fmt" func main() { // make函数 makeSlice() // 创建切片 makeMap() // 创建集合 makeChan() // 创建channel } func makeSlice(){ sl := make([]strin 阅读全文
posted @ 2020-06-06 19:59
brady-wang
阅读(632)
评论(0)
推荐(0)
摘要:
<script id="c_n_script" src="https://blog-static.cnblogs.com/files/hxun/canvas-nest.js" color="0,0,0" opacity="4" count="50" zindex="-2"> if(/Android| 阅读全文
posted @ 2020-06-06 19:36
brady-wang
阅读(482)
评论(0)
推荐(3)
摘要:
package main import ( "time" "fmt" ) func main() { c := make(chan string) go func() { time.Sleep(1 * time.Second) c <- "hello from chan" // 数据发送到chann 阅读全文
posted @ 2020-06-06 17:48
brady-wang
阅读(211)
评论(0)
推荐(0)

浙公网安备 33010602011771号