redis / rueidis

A fast Golang Redis client that supports Client Side Caching, Auto Pipelining, Generics OM, RedisJSON, RedisBloom, RediSearch, etc.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add RedisResult.AsBoolSlice()

rueian opened this issue · comments

We have .AsIntSlice() and .AsStrSlice(), but we don't have .AsBoolSlice().

The recent rueidisprob implementation shows that .AsBoolSlice() could be worth adding.
https://github.com/redis/rueidis/pull/493/files#diff-4b47f96f7b3ee7e0e6e518500c78b9968b6ae21a4cc1edf422b18e285dcfe2d5R276-R295

I see where the changes should be added. I think .AsBoolSlice() should be added in message.go if you are ok with that. I can work on this issue.

Hi @Ali-Assar, I am surely ok with that. Thank you for your interest in working on this. Contributions are always welcome.

Hi. I created a pull request named: Add RedisResult.AsBoolSlice() #499 #500.
I created AsBoolSlice() and also tested it and tests are working fine.