Arrays provide a way for us to store many values of the same type under the same name. These individual values are found within the array via their index.
The format for declaring an array is:
var arrayName [elementCount] dataType
We can set access the individual elements using the index:
arrayName[index]
Indexing begins at zero
Indexing in Golang, like many other languages, begins at zero ($0$). An array named names with $3$ elements will allow us to access these elements using names[0], names[1] and names[2] respectively.
Fixed size
Unlike slices, arrays in Go are of a fixed size. Once we declare them, we cannot change how many values can be stored in the array.