func (c *Config) WriteConfig() error {
	err := os.MkdirAll(configDirectoryPath, 0700)
	if err != nil {
		return err
	}
	fmt.Println("configFilePath=", configFilePath())
	configor.Load(c, configFiles...)
	/*
		data, err := yaml.Marshal(c)
		if err != nil {
			return err
		}
	*/

	return ioutil.WriteFile(configFilePath(), data, 0600)
}
// WriteConfig writes the configuration information
WriteConfig writes the configuration information
// WriteConfig writes the configuration information
func (c *Config) WriteConfig() error {
	err := os.MkdirAll(configDirectoryPath, 0700)
	if err != nil {
		return err
	}
	fmt.Println("configFilePath=", configFilePath())
	configor.Load(c, configFiles...)
	return ioutil.WriteFile(configFilePath(), data, 0600)
}
func ( c * Config ) WriteConfig ( ) error { err := os . MkdirAll ( configDirectoryPath , 0700 ) if err != nil { return err } fmt . Println ( " " , configFilePath ( ) ) configor . Load ( c , configFiles ... ) return ioutil . WriteFile ( configFilePath ( ) , data , 0600 ) }
WriteConfig writes the configuration information
WriteConfig writes the configuration information
/*
		data, err := yaml.Marshal(c)
		if err != nil {
			return err
		}
	*/