months := [...]string{"January", "February", "March", "April", "May", "June",
"July", "August", "September", "October", "November", "December"} <br>
q2 := months[3:6]
fmt.Println(cap(q2)) //9<br>
不太明白数组切片的这个容量问题 请指教
有疑问加站长微信联系(非本文作者)