我有两个价值观:
[3:6]
我试图在 Golang 中玩一些东西,但我无法找到一个好的方法来根据这些值创建数组。
这是我想要实现的目标:
[3,4,5,6]
arrays range go slice
arrays ×1
go ×1
range ×1
slice ×1