From 434dc7eb79df60e29b8b7dfb87e63554b78b7b26 Mon Sep 17 00:00:00 2001 From: Tsao Lee <1196419514@qq.com> Date: Thu, 9 Aug 2018 14:45:45 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AC=94=E8=AF=AF=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 数组类型[]位置调整 --- docs/golang_tutorial_11.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/golang_tutorial_11.md b/docs/golang_tutorial_11.md index 204e37c..3816dc1 100644 --- a/docs/golang_tutorial_11.md +++ b/docs/golang_tutorial_11.md @@ -12,7 +12,7 @@ ## 申明 -数组的类型为` n[T]`,其中 `n` 表示数组中元素的个数,`T` 表示数组中元素的类型。元素的个数 `n`也是数组类型的一部分(我们将在稍后详细讨论)。 +数组的类型为` [n]T`,其中 `n` 表示数组中元素的个数,`T` 表示数组中元素的类型。元素的个数 `n`也是数组类型的一部分(我们将在稍后详细讨论)。 有很多声明数组的方式,让我们一个一个地介绍。