mkdir go-example
cd go-example
go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.cn,direct
mkdir go-example && cd go-examplego env -w GO111MODULE=ongo env -w GOPROXY=https://goproxy.cn,directgo mod init go-example
go.mod:
module go-example
go 1.15
go envgo env -w GGOPATH=C:\GoPath