Update data_and_memory.md

add code for go
This commit is contained in:
XC-Zero 2022-12-28 14:11:36 +08:00 committed by GitHub
parent eeb0aec2f1
commit af5497e70b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,11 @@ 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{}
```
=== "JavaScript"