I am using go-redis package. I fired below query:
rd.LLen("queue_1")
Which returning me below result with type *redis.IntCmd
:
llen queue_1: 100001
Count is perfect but I want only count with type of int
. Can anyone help?
I am using go-redis package. I fired below query:
rd.LLen("queue_1")
Which returning me below result with type *redis.IntCmd
:
llen queue_1: 100001
Count is perfect but I want only count with type of int
. Can anyone help?
我正在使用 go-redis 软件包。 我在下面的查询中触发: p>
rd.LLen(“ queue_1”)
code> pre>
其中以下返回我的结果为 键入 * redis.IntCmd code>: p>
llen queue_1:100001
code> pre>
计数为 完美,但我只希望使用 int code>类型进行计数。 有人可以帮忙吗? p>
div>