4 ms·
That's not quite true; the "vcs" portion of the Go source code has special code to handle github.com, code.google.com, bitbucket, and some others. It may have
by binarycrusader 12y ago
That's not quite true; the "vcs" portion of the Go source code has special code to handle github.com, code.google.com, bitbucket, and some others.
It may have support for a "go-import" file that you speak of, but it definitely has hard-coded knowledge of some popular vcs sites.
- Vendan 12y agoWell, it may have hardcoded support for those, but if you look closely, even github has the go-import meta tag. It's just worth mentioning, cause you can put it on your own pages, pointing at your own git repo. There's nothing saying "Get on github if you want people to be able to go get your code"
- BarkMore 12y agoGitHub has the meta tag on some, but not all of the pages where 'go get' expects to find the tag. An example of a page without the tag is https://github.com/golang/lint/golint?go-get=1 https://github.com/golang/lint/golint?go-get=1.