To declare an array in Go, use the following syntax:
var name [size]type
The size indicates the number of elements the array should store, and the type indicates the type of elements in the array.