```
{
"name":"foo/bar.mp3",
"url":"https://foobar.com/bar.mp3"
}
```
I wanna save the song after fetching the url.
When I am going to save the file to the `name` value it says `open: foo/bar.mp3
no such....`, because the directory `foo` doesn't exist.
I wanna save it in the current directory.
Any way to escape it?
Please don't suggest `url.PathEscape`, it encodes unicode char (my language is
Bangla).
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.