Description

Values is a helper that converts an array command reply to a []interface{}. If err is not equal to nil, then Values returns nil, err. Otherwise, Values converts the reply as follows:

Reply type      Result
array           reply, nil
nil             nil, ErrNil
other           nil, error

Values is referenced in 224 repositories

github.com/garyburd/redigo github.com/alicebob/miniredis github.com/eddyzhou/miniredis

...