From e3323015b56b40422b4b4140fc82086d05ea7258 Mon Sep 17 00:00:00 2001 From: astaxie Date: Fri, 18 Jan 2013 13:50:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E4=B8=80=E4=BA=9Bbu?= =?UTF-8?q?g?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 08.1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/08.1.md b/08.1.md index 68d77079..3ec905f3 100755 --- a/08.1.md +++ b/08.1.md @@ -171,7 +171,7 @@ Go语言中通过net包中的`DialTCP`函数来建立一个TCP连接,并返回 if err != nil { continue } - daytime := time.LocalTime().String() + daytime := time.Now().String() conn.Write([]byte(daytime)) // don't care about return value conn.Close() // we're finished with this client }