feat(cleanup): remove temporary file after download
Add a defer function to ensure the temporary file is closed and removed after the download is complete. Update the io.Copy to ignore errors to prevent panic in case of write failures.
This commit is contained in:
Reference in New Issue
Block a user