func SetupDefault(dir string) (Config, error) {
	dir, err := findConfigDir(dir)
	if err != nil {
		return nil, err
	}

	return Setup(dir)
}
// SetupDefault setups the config folder from a directory path.
//
// If the directory path is an empty string, the path is automatically guessed.
SetupDefault setups the config folder from a directory path.

If the directory path is an empty string, the path is automatically guessed.
// SetupDefault setups the config folder from a directory path . // // If the directory path is an empty string the path is automatically guessed .
func SetupDefault(dir string) (Config, error) {
	dir, err := findConfigDir(dir)
	if err != nil {
		return nil, err
	}
	return Setup(dir)
}
func SetupDefault ( dir string ) ( Config , error ) { dir , err := findConfigDir ( dir ) if err != nil { return nil , err } return Setup ( dir ) }
SetupDefault setups the config folder from a directory path.
SetupDefault setups the config folder from a directory path .