mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-11-13 09:16:10 +08:00
更新14、15和17章目录 (#702)
* 更新14、15和17章目录 * Update README.md * 添加章节序号 * 添加章节序号 * 添加代码链接 * 修改错别字 * 删除多余字符 * 修复代码与文件不对应的问题 * 修改代码
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# defer 模式
|
||||
# 17.2 defer 模式
|
||||
|
||||
使用 `defer` 可以确保资源不再需要时,都会被恰当地关闭或归还到“池子”中。更重要的一点是,它可以恢复 panic。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user