func Parse(path string, cfg interface{}, errorOnFileNotFound bool) error {
	switch filepath.Ext(path) {
	case ".yaml", ".yml":
		return parseYaml(path, cfg, errorOnFileNotFound)
	default:
		return ErrUnknownFileExtention
	}
}
// Checks if extention of the file is supported or not and if supported
// its configurations will be read and will be saved in cfg variable
Checks if extention of the file is supported or not and if supported
its configurations will be read and will be saved in cfg variable
// Checks if extention of the file is supported or not and if supported // its configurations will be read and will be saved in cfg variable
func Parse(path string, cfg interface{}, errorOnFileNotFound bool) error {
	switch filepath.Ext(path) {
	case ".yaml", ".yml":
		return parseYaml(path, cfg, errorOnFileNotFound)
	default:
		return ErrUnknownFileExtention
	}
}
func Parse ( path string , cfg interface { } , errorOnFileNotFound bool ) error { switch filepath . Ext ( path ) { case " " , " " : return parseYaml ( path , cfg , errorOnFileNotFound ) default : return ErrUnknownFileExtention } }
Checks if extention of the file is supported or not and if supported
its configurations will be read and will be saved in cfg variable
Checks if extention of the file is supported or not and if supported its configurations will be read and will be saved in cfg variable