In YoutubeDownload, the global variable `Filename` is overwritten, making it difficult to import and use these functions in external packages: https://github.com/AssemblyAI/assemblyai-cli/blob/a37341c1da44ca197551592b37eeb73ac3867bd7/utils/youtube.go#L100 My use case is that I'm trying to make use of the AssemblyAI API, and I am re-using some of your functions in my own go program.
In YoutubeDownload, the global variable
Filenameis overwritten, making it difficult to import and use these functions in external packages:assemblyai-cli/utils/youtube.go
Line 100 in a37341c
My use case is that I'm trying to make use of the AssemblyAI API, and I am re-using some of your functions in my own go program.