Self-hosted 'go get'-able repos HOWTO

Hi, I hope this isn’t an FAQ, but I wasn’t able to find any good documentation on, or elsewhere, on how to set this up, so I wrote a tutorial. I think it should be added to the core documentation on ‘go get’ and the import tool, as the infrastructure required doesn’t seem to be adequately documented anywhere.

The ‘go get’ tool is the official way to fetch 3rd-party packages from and other ‘big’ code hosting sites. There are undocumented details about the HTTPS server and git web backend setup (plus details about domain entries and URI redirections) that are required for this to work transparently. I wanted to support ‘go get’ for packages from my own server, and have documented the setup required to do so here:

I hope this is informative for others.



This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.