mirror of https://github.com/ledisdb/ledisdb.git
fix unprintable character
This commit is contained in:
parent
633ced379c
commit
78ac5c9842
|
@ -66,7 +66,7 @@ func printReply(cmd string, reply interface{}) {
|
||||||
case string:
|
case string:
|
||||||
fmt.Printf("%s", reply)
|
fmt.Printf("%s", reply)
|
||||||
case []byte:
|
case []byte:
|
||||||
fmt.Printf("%s", string(reply))
|
fmt.Printf("%q", reply)
|
||||||
case nil:
|
case nil:
|
||||||
fmt.Printf("(nil)")
|
fmt.Printf("(nil)")
|
||||||
case ledis.Error:
|
case ledis.Error:
|
||||||
|
|
Loading…
Reference in New Issue