From 85cb968803ff486eb97b5a5c3015236a56f59bc3 Mon Sep 17 00:00:00 2001 From: ShaoBo Wan Date: Sun, 18 Mar 2018 19:27:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=AC=E6=96=87=E7=94=B1=20GCTT=20=E5=8E=9F?= =?UTF-8?q?=E5=88=9B=E7=BF=BB=E8=AF=91=EF=BC=8CGo=E8=AF=AD=E8=A8=80?= =?UTF-8?q?=E4=B8=AD=E6=96=87=E7=BD=91=20=E9=A6=96=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 ++ docs/golang_tutorial_01.md | 4 +++- docs/golang_tutorial_02.md | 2 ++ docs/golang_tutorial_03.md | 2 ++ docs/golang_tutorial_04.md | 2 ++ docs/golang_tutorial_05.md | 4 +++- 6 files changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 37126f8..d2a5cb1 100644 --- a/README.md +++ b/README.md @@ -69,3 +69,5 @@ * [原文](https://golangbot.com/) * [译者一](http://blog.csdn.net/u011304970/article/details/74797939) * [译者二](https://www.studygolang.com/gctt/Noluye) + +本文由 [GCTT](https://github.com/studygolang/GCTT) 原创翻译,[Go语言中文网](https://studygolang.com/)首发。 \ No newline at end of file diff --git a/docs/golang_tutorial_01.md b/docs/golang_tutorial_01.md index 9a813fd..72734c8 100644 --- a/docs/golang_tutorial_01.md +++ b/docs/golang_tutorial_01.md @@ -37,4 +37,6 @@ Golang在所有三种平台的Mac,Windows和Linux上均受支持。您可以 ## Linux 系统 -从https://golang.org/dl/下载tar文件并将其解压缩到/ `/usr/local/` 。将`/usr/local/go/bin`添加到PATH环境变量中。这应该安装在Linux中。 \ No newline at end of file +从https://golang.org/dl/下载tar文件并将其解压缩到/ `/usr/local/` 。将`/usr/local/go/bin`添加到PATH环境变量中。这应该安装在Linux中。 + +本文由 [GCTT](https://github.com/studygolang/GCTT) 原创翻译,[Go语言中文网](https://studygolang.com/)首发。 \ No newline at end of file diff --git a/docs/golang_tutorial_02.md b/docs/golang_tutorial_02.md index ea01532..4176ec1 100644 --- a/docs/golang_tutorial_02.md +++ b/docs/golang_tutorial_02.md @@ -120,3 +120,5 @@ func main() { //3 `func main()`:main函数是一个特殊的函数,它是 Go 程序的入口点。main 函数必须包含在 main package 中。 { 和 } 表示 main 函数的开始和结束。 `fmt.Println(“Hello World”)`:fmt 包里的 Println 函数用来打印文本到标准输出。 + +本文由 [GCTT](https://github.com/studygolang/GCTT) 原创翻译,[Go语言中文网](https://studygolang.com/)首发。 \ No newline at end of file diff --git a/docs/golang_tutorial_03.md b/docs/golang_tutorial_03.md index 34ada8e..b8eab65 100644 --- a/docs/golang_tutorial_03.md +++ b/docs/golang_tutorial_03.md @@ -303,3 +303,5 @@ func main() { } ``` +本文由 [GCTT](https://github.com/studygolang/GCTT) 原创翻译,[Go语言中文网](https://studygolang.com/)首发。 + diff --git a/docs/golang_tutorial_04.md b/docs/golang_tutorial_04.md index d167553..d93e628 100644 --- a/docs/golang_tutorial_04.md +++ b/docs/golang_tutorial_04.md @@ -335,6 +335,8 @@ func main() { 在第 9 行,i 转换为 float64 类型,接下来赋值给 j。如果不进行类型转换,当你试图把 i 赋值给 j 时,编译器会抛出错误。 +本文由 [GCTT](https://github.com/studygolang/GCTT) 原创翻译,[Go语言中文网](https://studygolang.com/)首发。 + diff --git a/docs/golang_tutorial_05.md b/docs/golang_tutorial_05.md index feec16e..66a46fb 100644 --- a/docs/golang_tutorial_05.md +++ b/docs/golang_tutorial_05.md @@ -234,4 +234,6 @@ func main() { ```golang a's type float64 value 0.7375 -``` +``` + +本文由 [GCTT](https://github.com/studygolang/GCTT) 原创翻译,[Go语言中文网](https://studygolang.com/)首发。