I found the
golang.org documentation to be lacking in the details of how exactly one sets up a web + git server backend to support the 'go get' tool, so I recently wrote a blog posting showing an example configuration that supports exporting repositories in this manner, without depending on 3rd-party sites such as github.
In light of the recent rumours that Microsoft may purchase github, and Go's over-dependence on that site for useful packages, I think it's now more relevant than ever that people set up their own 'go get' repositories.