Append
Go provides the append() function that can be used for elements at the end of a slice.
func append(slice []Type, elems ...Type) []Type
The first argument is the slice itself, and the second is a parameter that accepts n values that will be
added sequentially at the end of the slice. This function returns a slice, not a pointer, as it does not change the original slice value.