in main/files.go [46:59]
func getDownloader(fileURL string, storageAccountName, storageAccountKey string) (
download.Downloader, error) {
if storageAccountName == "" || storageAccountKey == "" {
return download.NewURLDownload(fileURL), nil
}
blob, err := blobutil.ParseBlobURL(fileURL)
if err != nil {
return nil, err
}
return download.NewBlobDownload(
storageAccountName, storageAccountKey,
blob), nil
}