Update data_and_memory.md

This commit is contained in:
Yudong Jin 2022-12-29 00:49:50 +08:00 committed by GitHub
parent a4161b5fa2
commit 78c2b94422
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,9 +74,9 @@ comments: true
=== "Go"
```go title=""
// 使用多种「基本数据类型」来初始化「数组」
var numbers = [5]int{}
var decimals = [5]float64{}
// go 里没有char ,但有 rune/byte 用以代替 char
var characters = [5]byte{}
var booleans = [5]bool{}
```