会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ZhangZhihui's Blog
公告
日历
导航
博客园
首页
新随笔
新文章
联系
管理
2023年8月12日
Go - What's the point of one-way channels in Go?
摘要: A channel can be made read-only to whoever receives it, while the sender still has a two-way channel to which they can write. For example: func F() <-
阅读全文
posted @ 2023-08-12 21:59 ZhangZhihuiAAA
阅读(17)
评论(0)
推荐(0)
博客园
© 2004-2025
浙公网安备 33010602011771号
浙ICP备2021040463号-3