* fix(configtest,scan): support SSH config file * chore(subcmds): remove askKeyPassword flag
		
			
				
	
	
		
			13 lines
		
	
	
		
			224 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			224 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package config
 | 
						|
 | 
						|
// Load loads configuration
 | 
						|
func Load(path string) error {
 | 
						|
	loader := TOMLLoader{}
 | 
						|
	return loader.Load(path)
 | 
						|
}
 | 
						|
 | 
						|
// Loader is interface of concrete loader
 | 
						|
type Loader interface {
 | 
						|
	Load(string, string) error
 | 
						|
}
 |