For a slice in Go, I want to get all the items in it.
package main import "fmt" func main() { var ids = []int{1, 2, 3} fmt.Println(ids) } //