拉丁的传说
var xs, ys, zs = 5, 6, 7 // axis sizesvar world = make([][][]int, xs) // x axisfunc main() { for x := 0; x < xs; x++ { world[x] = make([][]int, ys) // y axis for y := 0; y < ys; y++ { world[x][y] = make([]int, zs) // z axis for z := 0; z < zs; z++ { world[x][y][z] = (x+1)*100 + (y+1)*10 + (z+1)*1 } } }}这显示了使制作n维切片更容易的模式。