mini.go
func (config *Config) InitializeFromPath(path string) error {

	f, err := os.Open(path)

	if err != nil {
		return err
	}

	defer f.Close()

	return config.InitializeFromReader(bufio.NewReader(f))
}
func (config *Config) InitializeFromPath(path string) error {

	f, err := os.Open(path)

	if err != nil {
		return err
	}

	defer f.Close()

	return config.InitializeFromReader(bufio.NewReader(f))
}
func ( config * Config ) InitializeFromPath ( path string ) error { f , err := os . Open ( path ) if err != nil { return err } defer f . Close ( ) return config . InitializeFromReader ( bufio . NewReader ( f ) ) }
/*
InitializeFromPath takes a path, treats it as a file and scans it for an ini configuration.
*/
/ * InitializeFromPath takes a path treats it as a file and scans it for an ini configuration .