cmd/go: add support for GitHub Enterprise import path · Issue #17898 · golang/go

For now, go get does not fetch packages hosted on GitHub Enterprise correctly without any workarounds. $ go get -v ghe.in.my.company/user/repo/sub Fetching ghe.in.my.company/user/repo/sub?go-get=1...