From 841b82d14337e35e4305ed58f342dc566b25fd4e Mon Sep 17 00:00:00 2001 From: astaxie Date: Thu, 11 Oct 2012 09:51:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=BE=B7=E9=97=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 8.1.md | 4 ++-- README.md | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/8.1.md b/8.1.md index d03322c8..6588e8df 100644 --- a/8.1.md +++ b/8.1.md @@ -103,7 +103,7 @@ Go语言中通过net包中的`DialTCP`函数来建立一个TCP连接,并返回 fmt.Println(string(result)) os.Exit(0) } - func checkError(err os.Error) { + func checkError(err error) { if err != nil { fmt.Fprintf(os.Stderr, "Fatal error: %s", err.String()) os.Exit(1) @@ -143,7 +143,7 @@ Go语言中通过net包中的`DialTCP`函数来建立一个TCP连接,并返回 conn.Close() // we're finished with this client } } - func checkError(err os.Error) { + func checkError(err error) { if err != nil { fmt.Fprintf(os.Stderr, "Fatal error: %s", err.String()) os.Exit(1) diff --git a/README.md b/README.md index a75f2617..a25b4744 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,8 @@ ##交流 欢迎大家加入QQ群:259316004 《Go Web编程》专用交流群 +大家有问题还可以上德问上一起交流学习:http://www.dewen.org/topic/165 + ##致谢 首先要感谢Golang-China的QQ群102319854,里面的每一个人都很热心,同时要特别感谢几个人