From 81545edcb0ee2707a08eb44e00f9d68f223ce671 Mon Sep 17 00:00:00 2001 From: sevensmall Date: Wed, 19 Jun 2013 12:08:46 +0900 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=97=A5=E6=96=87=E4=BD=A0?= =?UTF-8?q?=E5=A5=BD=E7=9A=84=E8=8B=B1=E6=96=87=E5=AD=97=E6=AF=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ohaiou是早上好,在这里对应hello的话用konichiwa更合适 --- ebook/02.2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ebook/02.2.md b/ebook/02.2.md index 87b95fd5..bf2306c9 100644 --- a/ebook/02.2.md +++ b/ebook/02.2.md @@ -129,7 +129,7 @@ Go对于已声明但未使用的变量会在编译阶段报错,比如下面的 var emptyString string = "" // 声明了一个字符串变量,初始化为空字符串 func test() { no, yes, maybe := "no", "yes", "maybe" // 简短声明,同时声明多个变量 - japaneseHello := "Ohaiou" // 同上 + japaneseHello := "Konichiwa" // 同上 frenchHello = "Bonjour" // 常规赋值 }