Array
An array is a numbered sequence of elements of a single type.
The length of array A can be found out using the built-in function len. Elements can be addressed by integer indices from 0 to len(A) - 1.
Array types are always one-dimensional, but they can be composited to form multi-dimensional types.
The length of an array is part of its type, so arrays cannot be resized. This seems limiting, but don't worry; Go provides a convenient way to work with arrays.
var names = [3]string{
"Carlos",
"Maria",
"Antonio",
}