原文链接:https://www.cnblogs.com/mafeng/p/10250367.html
a := []int{0, 1, 2, 3, 4} //删除第i个元素 i := 2 a = append(a[:i], a[i+1:]...)