mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-11-13 09:16:10 +08:00
modified: eBook/18.2.md
modified: eBook/18.3.md modified: eBook/18.4.md modified: eBook/directory.md
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# 18.2 数组和切片
|
||||
|
||||
创建:
|
||||
|
||||
`arr1 := new([len]type)`
|
||||
|
||||
`slice1 := make([]type, len)`
|
||||
|
||||
Reference in New Issue
Block a user