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