Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/essential/base/60.slice.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ date: 2022-08-16

### 初始化

数组在声明是长度只能是一个常量,不能是变量
数组在声明时长度只能是一个常量,不能是变量,你不能在声明一个变量让后用变量作为数组的长度值

```go
// 正确示例
Expand Down