第十七十八章 (#833)

Co-authored-by: Joe Chen <jc@unknwon.io>
This commit is contained in:
Haigang Zhou
2022-05-19 19:57:23 +08:00
committed by GitHub
parent 72bc74ab95
commit fa1cfcc67f
12 changed files with 66 additions and 67 deletions

View File

@@ -1,7 +1,7 @@
# 18.6 函数
如何使用内建函数 `recover` 终止 `panic` 过程(参考[章节13.3](13.3.md)
如何使用内建函数 `recover()` 终止 `panic()` 过程(参考[章节 13.3](13.3.md)
```go
func protect(g func()) {
defer func() {