Ver código fonte

更新 'redis.go'

golang 3 anos atrás
pai
commit
ccdb938711
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      redis.go

+ 1 - 1
redis.go

@@ -45,7 +45,7 @@ func (i *redisIterator) Next() bool {
 }
 
 func (i *redisIterator) Key() string {
-	return i.key
+	return strings.TrimPrefix(i.key,"kv:db$:")
 }
 
 func (i *redisIterator) Value() []byte {