Slices are an abstraction over arrays. They are a dynamically-sized, flexible view into the elements of an array. In practice, slices are much more common than arrays.
Handling lists, buffers, and collections of data.
Creating, slicing, and appending.
// Create a slice
primes := []int{2, 3, 5, 7, 11, 13}
// Slice it (like python)
var s []int = primes[1:4] // [3 5 7]
// Append
s = append(s, 17, 19)
A nil slice has a length and capacity of 0 and has no underlying array.