数组与切片在形式上区别不大,数组需要固定数组大小或者用...代替数组大小,用法如下:
参考资料:
https://blog.csdn.net/xiangxianghehe/article/details/78356355