i'm trying to convert key-value map to slice of 2 value, for example :
slices := make(map[int64]int64)
slices[int64(521)] = int64(4)
slices[int64(528)] = int64(8)
// how do i convert that to become
// [[521, 4], [528, 8]]
i'm thinking about each all those key-value then create slice for that, but is there any simple code to do that ?