Pergi inisialisasi array di Golang
package main
import "fmt"
func main() {
// declaring an array
var arrayOfIntegers[3]int
// elements are assigned using index
arrayOfIntegers[0] = 5
arrayOfIntegers[1] = 10
arrayOfIntegers[2] = 15
fmt.Println(arrayOfIntegers)
}
SAMER SAEID