提交 1246e41f 编写于 作者: 徐晓伟's avatar 徐晓伟

📝 修正代理命令

上级 84d97ed7
......@@ -13,7 +13,7 @@ build:golang:1.21:
- echo $CI_JOB_ID
- go version
- go env -w GOPROXY=https://goproxy.cn,direct
#- go env -w GOPROXY=https://mirrors.aliyun.com/goproxy/
#- go env -w GOPROXY=https://mirrors.aliyun.com/goproxy,direct
- go mod download
- go test ./... -v
- go run main.go
......@@ -111,7 +111,7 @@ build:golang:1.21-alpine3.18:
- echo $CI_JOB_ID
- go version
- go env -w GOPROXY=https://goproxy.cn,direct
#- go env -w GOPROXY=https://mirrors.aliyun.com/goproxy/
#- go env -w GOPROXY=https://mirrors.aliyun.com/goproxy,direct
- go mod download
- go test ./... -v
- go run main.go
......
......@@ -111,7 +111,7 @@
```shell
go env -w GOPROXY=https://goproxy.cn,direct
# go env -w GOPROXY=https://mirrors.aliyun.com/goproxy/
# go env -w GOPROXY=https://mirrors.aliyun.com/goproxy,direct
go get -u github.com/urfave/cli/v2
go get -u github.com/xanzy/go-gitlab
go get -u github.com/xuxiaowei-com-cn/git-go@main
......
......@@ -4,7 +4,7 @@
```shell
go env -w GOPROXY=https://goproxy.cn,direct
# go env -w GOPROXY=https://mirrors.aliyun.com/goproxy/
# go env -w GOPROXY=https://mirrors.aliyun.com/goproxy,direct
go get -u github.com/xuxiaowei-com-cn/git-go@main
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册