mirror of
https://github.com/krahets/hello-algo.git
synced 2025-07-24 18:55:36 +08:00
build
This commit is contained in:
@ -69,7 +69,7 @@ comments: true
|
||||
```go title="list_test.go"
|
||||
/* 初始化列表 */
|
||||
// 无初始值
|
||||
nums1 := []int
|
||||
nums1 := []int{}
|
||||
// 有初始值
|
||||
nums := []int{1, 3, 2, 5, 4}
|
||||
```
|
||||
|
Reference in New Issue
Block a user