美文网首页
便捷golang开发

便捷golang开发

作者: 王义杰 | 来源:发表于2019-11-20 13:30 被阅读0次

go语言之旅:https://tour.go-zh.org/
如何使用go编程:https://go-zh.org/doc/code.html
时效go编程:https://go-zh.org/doc/effective_go.html
golang安装包下载:https://gomirrors.org/
go mod 代理地址:https://goproxy.io/

bash

# Enable the go modules feature
export GO111MODULE=on
# Set the GOPROXY environment variable
export GOPROXY=https://goproxy.io

PowerShell

# Enable the go modules feature
$env:GO111MODULE=on
# Set the GOPROXY environment variable
$env:GOPROXY=https://goproxy.io

Go version >= 1.13

go env -w GOPROXY=https://goproxy.io, direct
# Set environment variable allow bypassing the proxy for selected modules
go env -w GOPRIVATE=*.corp.example.com

相关文章

网友评论

      本文标题:便捷golang开发

      本文链接:https://www.haomeiwen.com/subject/hhroictx.html