Skip to content

Commit 7c24229

Browse files
committed
fix: registry index use http://go.dev is better
1 parent 01cf548 commit 7c24229

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,8 @@ goup completion zsh > _goup
245245

246246
### Registry index mirror site
247247

248-
- Official 1(default): https://golang.google.cn
249-
- Official 2: https://go.dev
248+
- Official 1(default): https://go.dev
249+
- Official 2: https://golang.google.cn
250250

251251
### Registry mirror site
252252

README_CN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,8 @@ goup completion zsh > _goup
246246

247247
### 索引镜像站
248248

249-
- 官方1(默认): https://golang.google.cn
250-
- 官方2: https://go.dev
249+
- 官方1(默认): https://go.dev
250+
- 官方2: https://golang.google.cn
251251

252252
### 仓库镜像站
253253

src/consts.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pub const GOUP_GO_REGISTRY_INDEX: &str = "GOUP_GO_REGISTRY_INDEX";
77
pub const GOUP_GO_REGISTRY: &str = "GOUP_GO_REGISTRY";
88
pub const GOUP_GO_SOURCE_GIT_URL: &str = "GOUP_GO_SOURCE_GIT_URL";
99
// env value
10-
pub const GO_REGISTRY_INDEX: &str = "https://golang.google.cn";
10+
pub const GO_REGISTRY_INDEX: &str = "https://go.dev";
1111
pub const GO_REGISTRY: &str = "https://dl.google.com/go";
1212
pub const GO_SOURCE_GIT_URL: &str = "https://github.com/golang/go";
1313
pub const GO_SOURCE_UPSTREAM_GIT_URL: &str = "https://go.googlesource.com/go";

0 commit comments

Comments
 (0)