Closed utterances-bot closed 2 years ago
注:本文已发布超过一年,请注意您所使用工具的相关版本是否适用 本系列为 Go 进阶训练营 笔记,预计 2021Q2 完成更新,访问 博客: Go进阶训练营, 即可查看当前更新进度,部分文章篇幅较长,使用 PC 大屏浏览体验更佳。
回
https://lailin.xyz/post/go-training-week3-atomic.html
return (c.v.Load().([]int)) 偷懒这个是啥意思?
return (c.v.Load().([]int))
偷懒这个是啥意思?
没去 check 数据类型,可能会 panic 的
Go并发编程(五) 深入理解 sync/atomic - Mohuishou
回
https://lailin.xyz/post/go-training-week3-atomic.html