go get使用私有仓库 git config --global url."git@git.oschina.net:".insteadOf "https://git.oschina.net/" cat ~/.gitconfig [url "git@github.com:"] insteadOf = https://github.com/ https://michaelheap.com/golang-how-to-go-get-private-repos/