// Function to create a new output TOML file with name filename and using config
// returns any errors
Function to create a new output TOML file with name filename and using config
returns any errors
// Function to create a new output TOML file with name filename and using config // returns any errors
func createOutputConfigFile(fileName string, config SSHrimp) error {
	configFile, err := os.Create(fileName)
	if err != nil {
		return err
	}
	defer configFile.Close()
	encoder := toml.NewEncoder(configFile)
	err = encoder.Encode(config)
	return err
}
func createOutputConfigFile ( fileName string , config SSHrimp ) error { configFile , err := os . Create ( fileName ) if err != nil { return err } defer configFile . Close ( ) encoder := toml . NewEncoder ( configFile ) err = encoder . Encode ( config ) return err }
Function to create a new output TOML file with name filename and using config
returns any errors
Function to create a new output TOML file with name filename and using config returns any errors
// Encode the configuration values as a TOML file