mohuishou / blogComment

mohuishou's blog comment
0 stars 0 forks source link

post/go-training-week3-atomic #280

Closed utterances-bot closed 2 years ago

utterances-bot commented 2 years ago

Go并发编程(五) 深入理解 sync/atomic - Mohuishou

        注:本文已发布超过一年,请注意您所使用工具的相关版本是否适用

        本系列为 Go 进阶训练营 笔记,预计 2021Q2 完成更新,访问 博客: Go进阶训练营, 即可查看当前更新进度,部分文章篇幅较长,使用 PC 大屏浏览体验更佳。

https://lailin.xyz/post/go-training-week3-atomic.html

mohuishou commented 2 years ago

return (c.v.Load().([]int))

偷懒这个是啥意思?

没去 check 数据类型,可能会 panic 的