slice 的数据结构,一个指向真实array 地址的指针ptr ,slice 的长度len 和容量cap ,在底层数组容量不足时可以实现自动重分配并生... 彻底搞懂golang中的 ...
確定! 回上一頁