예제 #1
0
파일: god_cli.go 프로젝트: rhino1998/god
func mirrorSlice(conn *client.Conn, args []string) {
	for i, item := range conn.MirrorSlice([]byte(args[1]), []byte(args[2]), []byte(args[3]), true, false) {
		fmt.Printf("%v: %v => %v\n", i, decode(item.Key), string(item.Value))
	}
}