go module的配置使用
环境:
goland2021.2.1
go1.15
File->Setting->Go->module 勾选Enable Go Modules integration,
environment里输入GOPROXY=https://goproxy.io。确定即可
点开Terminal输入命令 go mod tidy -v 会自动更新依赖
环境:
goland2021.2.1
go1.15
File->Setting->Go->module 勾选Enable Go Modules integration,
environment里输入GOPROXY=https://goproxy.io。确定即可
点开Terminal输入命令 go mod tidy -v 会自动更新依赖