package main import ( "./lib/com" "fmt" ) func main() { tree := map[int][]byte{} tree[0] = com.RandBytesWithHeader() tree[5] = com.RandBytesWithHeader() tree[2] = com.RandBytesWithHeader() tree[1] = com.RandBytesWithHeader() tree[3] = com.RandBytesWithHeader() tree[8] = com.RandBytesWithHeader() for i, v := range tree { fmt.Printf("%d: %s\n", i, v) } }