示例#1
0
文件: god_cli.go 项目: rhino1998/god
func sliceLen(conn *client.Conn, args []string) {
	for _, item := range conn.SliceLen([]byte(args[1]), []byte(args[2]), true, *(mustAtoi(args[3]))) {
		fmt.Printf("%v => %v\n", string(item.Key), decode(item.Value))
	}
}