import ( "fmt")var array = []int{1, 2, 3, 4}var arLength = len(array)//arLength is 4fmt.Println(arLength)