// SaveToFile save config info to file
SaveToFile save config info to file
// SaveToFile save config info to file
func SaveToFile() error {
	d, err := yaml.Marshal(_info)
	if err != nil {
		return err
	}
	tools.WriteFile(configPath, []string{
		string(d),
	}, true)
	return nil
}
func SaveToFile ( ) error { d , err := yaml . Marshal ( _info ) if err != nil { return err } tools . WriteFile ( configPath , [ ] string { string ( d ) , } , true ) return nil }
SaveToFile save config info to file
SaveToFile save config info to file