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