Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4c0a36e

Browse files
authored
Merge pull request #7 from VulperVoid/patch-3
一个数组的表示形式为 [n]T。n 表示数组中元素的数量,T 代表每个元素的类型。元素的数量 n 也是该类型的一部分
2 parents 78a4f3f + 434dc7e commit 4c0a36e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎docs/golang_tutorial_11.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
## 申明
1414

15-
数组的类型为` n[T]`,其中 `n` 表示数组中元素的个数,`T` 表示数组中元素的类型。元素的个数 `n`也是数组类型的一部分(我们将在稍后详细讨论)。
15+
数组的类型为` [n]T`,其中 `n` 表示数组中元素的个数,`T` 表示数组中元素的类型。元素的个数 `n`也是数组类型的一部分(我们将在稍后详细讨论)。
1616

1717
有很多声明数组的方式,让我们一个一个地介绍。
1818

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /