func NewIniConfig(locations ...string) *IniConfig {
	c := &IniConfig{Locations: locations}
	conf := config.NewDefault()
	for _, location := range locations {
		confItem, err := config.ReadDefault(location)
		if logger.CheckError(err) {
			continue
		}
		conf.Merge(confItem)
	}
	c.Config = conf
	return c
}
// NewIniConfig supports more than one location.
// returns IniConfig, implements mcore.Config
NewIniConfig supports more than one location.
returns IniConfig, implements mcore.Config
// NewIniConfig supports more than one location . // returns IniConfig implements mcore . Config
func NewIniConfig(locations ...string) *IniConfig {
	c := &IniConfig{Locations: locations}
	conf := config.NewDefault()
	for _, location := range locations {
		confItem, err := config.ReadDefault(location)
		if logger.CheckError(err) {
			continue
		}
		conf.Merge(confItem)
	}
	c.Config = conf
	return c
}
func NewIniConfig ( locations ... string ) * IniConfig { c := & IniConfig { Locations : locations } conf := config . NewDefault ( ) for _ , location := range locations { confItem , err := config . ReadDefault ( location ) if logger . CheckError ( err ) { continue } conf . Merge ( confItem ) } c . Config = conf return c }
NewIniConfig supports more than one location.
NewIniConfig supports more than one location .