array literal in Go

You can initialize an array with pre-defined values using an array literal. An array literal have the number of elements it will hold in square brackets, followed by the type of its elements. This is followed by a list of initial values separated by commas of each element inside the curly braces.
```
package main

import "fmt"

func main() {
    x := [5]int{10, 20, 30, 40, 50}   // Intialized with values
    var y [5]int = [5]int{10, 20, 30} // Partial assignment

    y = {10, 20, 30}; // error
    fmt.Println(x)
    fmt.Println(y)
}
```