func mirrorReverseSliceIndex(conn *client.Conn, args []string) { for _, item := range conn.MirrorReverseSliceIndex([]byte(args[1]), mustAtoi(args[2]), mustAtoi(args[3])) { fmt.Printf("%v: %v => %v\n", item.Index, decode(item.Key), string(item.Value)) } }