Re:Pkg.go.dev is more concerned with Google's interests than...
by yencabulator on Saturday August 01, 2020 @05:59PM
(#24024244)
codeberg.org only works with `go get` etc because they do have the meta tags set up.
The only way for a non-hardcoded host to work would be for the import path to contain ".git", ".hg", etc -- which is so ugly pretty much nobody does that.
Re:Pkg.go.dev is more concerned with Google's interests than...
by arp242 on Saturday August 01, 2020 @06:45PM
(#24024569)
Ah sorry, you're correct. I checked but forgot about the "?go-get=1" parameter it adds.
The entire thing is a bit hacky, but as mentioned in other comments godoc.org started as an independent project outside of Google and pkg.go.dev built on what was already in place. Was that the right decision? I don't know, I haven't looked at the matter and possible problems in-depth; all I do know it's far more nuanced than "Google being bad at engineering".
Quite a few points in this article are highly misleading.