golang.org is blocked in China, but golang.google.cn is accessible. How can I switch into golang.google.cn when I use go get to fetch some package?
There are few options, one is to change git configuration:
git config --global url."https://golang.google.cn".insteadOf "https://golang.org"