resp3 icon indicating copy to clipboard operation
resp3 copied to clipboard

supporting interface{} to write commands

Open iwanbk opened this issue 5 years ago • 1 comments

Hi,

We currently have WriteCommand https://godoc.org/github.com/smallnest/resp3#Writer.WriteCommand to write redis command with []string as the argument.

It would be great if we also have another method that receives []interface{}.

Because we need to store not only string, but also integer, float, etc..

iwanbk avatar Jun 30 '20 22:06 iwanbk

I have some idea to implement it, I hope I can send PR in the next few days.

iwanbk avatar Jun 30 '20 23:06 iwanbk