func FindInPaths(paths []string, baseName string) string {
	for _, p := range paths {
		filePath := filepath.Join(p, baseName)
		if exists, _ := FileExists(filePath); exists {
			return filePath
		}
	}

	return ""
}
// FindInPaths returns the path to baseName in the first path where it exists from paths.
FindInPaths returns the path to baseName in the first path where it exists from paths.
// FindInPaths returns the path to baseName in the first path where it exists from paths .
func FindInPaths(paths []string, baseName string) string {
	for _, p := range paths {
		filePath := filepath.Join(p, baseName)
		if exists, _ := FileExists(filePath); exists {
			return filePath
		}
	}
	return ""
}
func FindInPaths ( paths [ ] string , baseName string ) string { for _ , p := range paths { filePath := filepath . Join ( p , baseName ) if exists , _ := FileExists ( filePath ) ; exists { return filePath } } return " " }
FindInPaths returns the path to baseName in the first path where it exists from paths.
FindInPaths returns the path to baseName in the first path where it exists from paths .