go env -w GOPROXY=https://goproxy.cn,direct

 当执行 git run 时候

package wang/test is not in GOROOT

执行

git mod init

相关文章: