View definition

func ByteSlices(reply interface{}, err error) ([][]byte, error)

Defined in github.com/garyburd/redigo/redis/reply.go

Description

ByteSlices is a helper that converts an array command reply to a [][]byte. If err is not equal to nil, then ByteSlices returns nil, err. Nil array items are stay nil. ByteSlices returns an error if an array item is not a bulk string or nil.

ByteSlices is referenced in 9 repositories

github.com/WatchBeam/redutil github.com/shidenggui/gotq github.com/i/goku

...