/*
WriteConfig writes config to file
*/
WriteConfig writes config to file
/ * WriteConfig writes config to file * /
func WriteConfig(cfg SpeedtestWrapperConfig) string {
	if cfgBytes, err := yml.Marshal(cfg); err != nil {
		panic(err.Error())
	} else {
		fmt.Println(string(cfgBytes))
		return string(cfgBytes)
	}
}
func WriteConfig ( cfg SpeedtestWrapperConfig ) string { if cfgBytes , err := yml . Marshal ( cfg ) ; err != nil { panic ( err . Error ( ) ) } else { fmt . Println ( string ( cfgBytes ) ) return string ( cfgBytes ) } }
WriteConfig writes config to file
WriteConfig writes config to file