mirror of
https://github.com/HDT3213/godis.git
synced 2025-10-05 08:46:56 +08:00
quick list
This commit is contained in:
@@ -68,7 +68,7 @@ func execType(db *DB, args [][]byte) redis.Reply {
|
||||
switch entity.Data.(type) {
|
||||
case []byte:
|
||||
return protocol.MakeStatusReply("string")
|
||||
case *list.LinkedList:
|
||||
case list.List:
|
||||
return protocol.MakeStatusReply("list")
|
||||
case dict.Dict:
|
||||
return protocol.MakeStatusReply("hash")
|
||||
|
Reference in New Issue
Block a user