In Go 1.14 (available as in beta) you can set the GOINSECURE env var to 
allow http download.
https://tip.golang.org/cmd/go/#hdr-Environment_variables

On Sunday, 5 January 2020 17:34:50 UTC, volf...@gmail.com wrote:
>
>
>
> On Sunday, January 5, 2020 at 11:02:52 AM UTC, Amnon Baron Cohen wrote:
> > If you are happy publishing a zip archive rather than a tarball,
> > then you can server the module download protocol directly.
> > See https://research.swtch.com/vgo-module#download_protocol
>
> That definitely looks interesting and I will try to find some time to look 
> into it
> deeper, however testing it locally seems much more difficult then it really
> should have been. Go modules tooling does not seem to support http at
> all and as for the https I did not find any way to allow use of self-signed
> certificate...
>
> But still, it looks like it might be possible so thanks again, I will try 
> to
> twist it to work for my use-case.
>
> Thanks :)
>
> W.
>

-- 
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 golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/aedbf622-b1e1-4c7e-8c94-07305734422a%40googlegroups.com.

Reply via email to