sibul
From: Robert Engels
Sent: Sunday, November 25, 2018 10:20:46 AM
To: Anik Hasibul
Cc: golang-nuts
Subject: Re: [go-nuts] How to get request url scheme?
That should be it... file a bug
> On Nov 24, 2018, at 9:21 PM, Anik Hasibul wrote:
>
> Hi there!
Hi there!
I am working on a web application. And I need to get the scheme of the request
url.
I tried `req.URL.Scheme` it returned empty string.
But my expectation was `http` or `https`
Any idea to get that?
--
You received this message because you are subscribed to the Google Groups
"golang-n
Yes! Just tried.
Thanks for giving me the idea about kicking the slashes from file name.
From: golang-nuts@googlegroups.com on behalf of
Tamás Gulácsi
Sent: Sunday, October 21, 2018 12:12:13 AM
To: golang-nuts
Subject: Re: [go-nuts] Escape slashes from file path
I need the whole name :( the slash isn't separating the directory. It's
"artist/track.mp3"
From: golang-nuts@googlegroups.com on behalf of
Tamás Gulácsi
Sent: Sunday, October 21, 2018 12:00:08 AM
To: golang-nuts
Subject: [go-nuts] Escape slashes from file path
```
{
"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 dir
Can you please provide an example? I am new to golang.
From: Mhd Shulhan
Sent: Monday, September 3, 2018 12:17:57 PM
To: anik3...@gmail.com
Cc: golang-nuts
Subject: Re: [go-nuts] Listen by multiple goroutines via channels
On Mon, 3 Sep 2018, 13:03 , mailto:anik3