From 65ee267d2043ea169dc268f0c3737c4237495a5c Mon Sep 17 00:00:00 2001 From: Yue Chen Date: Tue, 10 Dec 2019 17:12:31 +0800 Subject: [PATCH] Update ch5-09.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改源码和文件出处 --- ch5/ch5-09.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ch5/ch5-09.md b/ch5/ch5-09.md index f6c5da0..0d2241f 100644 --- a/ch5/ch5-09.md +++ b/ch5/ch5-09.md @@ -96,8 +96,9 @@ src/gopl.io/ch5/defer1/defer.go:10 为了方便诊断问题,runtime包允许程序员输出堆栈信息。在下面的例子中,我们通过在main函数中延迟调用printStack输出堆栈信息。 +gopl.io/ch5/defer2 + ```Go -gopl.io/ch5/defer2 func main() { defer printStack() f(3)