File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -122,30 +122,6 @@ func cmdString(cmd Cmder, val interface{}) string {
122122	return  util .BytesToString (b )
123123}
124124
125- func  extractKeys (cmd  Cmder ) []string  {
126- 	firstKeyPos  :=  cmdFirstKeyPos (cmd )
127- 	if  firstKeyPos  ==  - 1  {
128- 		return  nil 
129- 	}
130- 
131- 	args  :=  cmd .Args ()
132- 	keys  :=  []string {}
133- 
134- 	switch  cmd .Name () {
135- 	case  "mget" :
136- 		for  i  :=  int (firstKeyPos ); i  <  len (args ); i ++  {
137- 			keys  =  append (keys , cmd .stringArg (i ))
138- 		}
139- 
140- 	default :
141- 		if  int (firstKeyPos ) <  len (args ) {
142- 			keys  =  append (keys , cmd .stringArg (firstKeyPos ))
143- 		}
144- 	}
145- 
146- 	return  keys 
147- }
148- 
149125//------------------------------------------------------------------------------ 
150126
151127type  baseCmd  struct  {
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments