go slice initialization code example Example: go slice initialization mySlice := []int{1, 2, 3, 4, 5}