会员
周边
新闻
博问
融资
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Loading
是凉城吖
博客园
首页
联系
管理
2021年8月26日
Effective Go学习
摘要: defer 记住两个性质: 1、同栈,后进先出 2、在推迟执行时已经求值,不是在调用时才求职。 (官网例子说明) func trace(s string) string { fmt.Println("entering:", s) return s } func un(s string) { fmt.
阅读全文
posted @ 2021-08-26 15:52 是凉城吖
阅读(103)
评论(0)
推荐(0)
编辑
公告