quick list

This commit is contained in:
finley
2022-07-12 20:57:13 +08:00
parent ab0754e2a5
commit e6d958716d
12 changed files with 743 additions and 34 deletions

View File

@@ -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")