arrays
Creation
var colors [3]string
var numbers = [5]int{5,3,1,2,4}
names := [...]string{1,2,3,4,5,6,7,8,9}//... counts numberUsage
colors[:len(colors) - 1] //python slicinggg
fmt.Println(colors)
fmt.Println(colors[1])Slice
Initialization
Usage
Last updated