how to add numbers into an array in golang code example Example: go add to slice var s []int s = append(s, 0)