Skip to content

Commit 6ff84fd

Browse files
committed
🔥
1 parent 6c07122 commit 6ff84fd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: 06.切片 slice.md

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
-其中 `cap` 可以省略,则和 `len` 的值相同
1212
-`len` 表示存储的元素个数, `cap`表示容量
1313

14+
//创建 array a
1415
a := [10]int{1,2,3,4,5,6,7,8,9}
1516
fmt.Println(a)
1617

0 commit comments

Comments
 (0)