Пример #1
0
func mirrorSliceIndex(conn *client.Conn, args []string) {
	for _, item := range conn.MirrorSliceIndex([]byte(args[1]), mustAtoi(args[2]), mustAtoi(args[3])) {
		fmt.Printf("%v: %v => %v\n", item.Index, decode(item.Key), string(item.Value))
	}
}