Golang 中的以下代码行是什么意思?

What is the meaning of following line of code in Golang?

var asciiSpace = [256]uint8{'\t': 1, '\n': 1, '\v': 1, '\f': 1, '\r': 1, ' ': 1}

为什么我们可以在上面的代码中使用 :1,这是什么意思?

asciiSpace 被声明为 uint8 的数组,索引为 0 .. 255(即 ASCII 范围),索引元素的值设置为 1

数组索引以 '\t''\n' 等形式给出,表明它们指的是空白字符。

我猜你误解了序列“索引 : 值”。

在(随机选择的)Go Tutorial.

中给出了一个类似的例子