From 52d20c99f1a09fc23c27505a5055dd41b54bbe1c Mon Sep 17 00:00:00 2001 From: Sarlor Date: Sat, 19 May 2018 05:36:01 +0800 Subject: [PATCH] Update 06.4.md (#465) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改名字错误 --- eBook/06.4.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eBook/06.4.md b/eBook/06.4.md index 7332a8f..49e8bfd 100644 --- a/eBook/06.4.md +++ b/eBook/06.4.md @@ -21,7 +21,7 @@ func function1() { } func function2() { - fmt.Printf("function2: Deferred until the end of the calling function!") + fmt.Printf("Function2: Deferred until the end of the calling function!") } ``` @@ -142,7 +142,7 @@ func trace(s string) { fmt.Println("entering:", s) } func untrace(s string) { fmt.Println("leaving:", s) } ``` -以下代码展示了何时调用两个函数: +以下代码展示了何时调用这两个函数: 示例 6.10 [defer_tracing.go](examples/chapter_6/defer_tracing.go):