var a [10]int
var a [3][4]int
slice
a := []int{1, 2, 3, 0, 0}
s := a[0:3:5]
len(s) // 长度
cap(s) // 容量
s2 := make([]int, 5, 10)
append
s := make([]int, 0, 1)
s = appednd(s, 2)
copy
srcSlice := []int{1, 2}
dstSlice := []int{1, 2, 3, 4, 5}
copy(dstSlice, srcSlice)