remove server param in function Connect
This commit is contained in:
		
							parent
							
								
									c61be37879
								
							
						
					
					
						commit
						228abef407
					
				| 
						 | 
				
			
			@ -14,7 +14,7 @@ type Server struct {
 | 
			
		|||
var r *Server
 | 
			
		||||
 | 
			
		||||
// Connect ...
 | 
			
		||||
func Connect(uri, password) (*Server, error) {
 | 
			
		||||
func Connect(uri, password string) (*Server, error) {
 | 
			
		||||
	ctx := context.Background()
 | 
			
		||||
 | 
			
		||||
	rdb := redis.NewClient(&redis.Options{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue