📜  追加或添加到切片或数组中 - Go 编程语言 - Go 编程语言代码示例
📅  最后修改于: 2022-03-11 14:45:01.887000             🧑  作者: Mango
代码示例2
numbers := []int{1,2}
numbers := append(numbers, 3, 4, 5) //Slice will become [1, 2, 3, 4, 5]