removed lint warning
This commit is contained in:
		
							
								
								
									
										2
									
								
								utils.go
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								utils.go
									
									
									
									
									
								
							@ -18,7 +18,7 @@ func addValue2InterfaceMap[K, T comparable](m map[K]interface{}, key K, value T)
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func addSlice2InterfaceMap[K, T comparable](m map[K]interface{}, key K, value []T) {
 | 
					func addSlice2InterfaceMap[K, T comparable](m map[K]interface{}, key K, value []T) {
 | 
				
			||||||
	if value != nil && len(value) > 0 {
 | 
						if len(value) > 0 {
 | 
				
			||||||
		m[key] = value
 | 
							m[key] = value
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user