>
> Having an option to link to old docs on golang.org (say
>
golang.org/pkg/something?tag=1.6.0) will result in people linking to
> that option, crawlers storing that option, search engines pointing to
> that option, and articles, help information and whatever else online
> pinning themselve
>
> You may want to investigate HPKP as well.
>
HPKP is on its way out:
https://en.wikipedia.org/wiki/HTTP_Public_Key_Pinning#Browser_support
Cheers,
Paul
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop
>
> I tried Set and Add. Request.Url.Query() is empty
>
https://godoc.org/net/url#URL.Query:
Query parses RawQuery and returns the corresponding values.
>
You are changing a copy.
q := req.URL.Query()
q.Set()...
req.URL.RawQuery = q.Encode()
Cheers,
Paul
--
You received this message becau
>
> Tried to update to 1.9.2 and 1.8.5 with godeb. Oops "no downloads found"
> Downloads only through a redirector.
> https://redirector.gvt1.com/edgedl/go/go1.9.2.linux-386.tar.gz whois
> GVT1.COM returns Registrar URL: http://www.markmonitor.com. Can sombody
> point me to the discussion ab
>
> I'm running a statically linked (CGO_ENABLED=0) Go network server in
> a chroot under Linux. The chroot is completely empty (except for the
> server's data files), yet, to my surprise, the only issue I'm seeing is
> that the timezone is wrong.
> 1. Which file(s) do I copy into the chroo
>
> If the upstream goes away, you can just re-publish the repo (which you'll
> have cloned locally) and adjust the remote URL in .gitmodules. New people
> cloning will get the clone from the new source.
>
Not to counter anything you've said, but dep also allows adjusting the URL.
Gopkg.toml:
>
> can anyone tell me the pros/cons of using git submodule update instead of
> godep govendor etc... ?
We used to use git submodules, but have now switched to
https://github.com/golang/dep . Much recommended.
Cheers,
Paul
--
You received this message because you are subscribed to the Goog
>
> Thanks. But if I'll use constraint I'll need to rewrite all the import
> paths in my code (and maybe in the vendor directory as well)
>
Maybe I've misunderstood something, but I was expecting you wouldn't have
to:
[[constraint]]
name = "github.com/original/library"
source = "github.com/you
Hi,
I plan to use "dep" and also to place "vendor" in the git repository.
> However I have one dependency in vendor which is locally patched. The
> problem for me is that "dep ensure" overwrites my patch every time. Is
> there a way to tell "dep" to ignore this specific package? (There are
> o