Go has two ways of creating a group of values by using arrays and slices
Array
Arrays in go have a set capacity/length and that cannot be changed/expanded
var numbs [3]int = [3]int{1, 2, 3}
// This will panic
numbs = append(numbs, 4) Slice
Slices in Go are similar to those in Javascript; their capacity can expand when you add more elements to it.
var numbs []int = []int{1, 2,3}
// This is ok
numbs = append(numbs, 4)
Mutating slices
Go allows us to append values to an array by using append method.