摘要:
go语言切片和数组 切片 切片的定义 // 1. 直接进行创建的时候指定初始值 s1 := []int{0, 1, 2, 3, lastIndex: lastIndexVal} // 2. 定义一个引用指向一个数组的切片 var slice []int slice = a[0:1] // 这里的a是 阅读全文
sqmw
The awakening is always delayed, there seems to be some fog
|
|
|