Disable Huawei mirror for Go (#231)

This commit is contained in:
Rui Yang 2025-07-12 13:03:03 +08:00 committed by GitHub
parent 109ac591c4
commit c455dda5fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View File

@ -27,6 +27,7 @@
* | MadDogOwner <xiaoran@xrgzs.top>
* | sanchuanhehe <wyihe5520@gmail.com>
* | Mikachu2333 <mikachu.23333@zohomail.com>
* | Rui Yang <techoc@foxmail.com>
* |
* Created On : <2023-08-28>
* Last Modified : <2025-07-12>

View File

@ -3,10 +3,11 @@
* -------------------------------------------------------------
* File Authors : Aoran Zeng <ccmywish@qq.com>
* Contributors : czyt <czyt.go@gmail.com>
* | Rui Yang <techoc@foxmail.com>
* |
* Created On : <2023-08-30>
* Major Revision : 1
* Last Modified : <2025-07-11>
* Last Modified : <2025-07-12>
* ------------------------------------------------------------*/
static SourceProvider_t pl_go_upstream =
@ -39,7 +40,8 @@ static Source_t pl_go_sources[] =
{&pl_go_upstream, "https://proxy.golang.org", NULL},
{&GoProxyCN, "https://goproxy.cn", DelegateToMirror},
{&Ali, "https://mirrors.aliyun.com/goproxy/", NULL},
{&Huawei, "https://mirrors.huaweicloud.com/goproxy/", NULL},
// 注释华为镜像源 详见 https://github.com/RubyMetric/chsrc/issues/227
// {&Huawei, "https://mirrors.huaweicloud.com/goproxy/", NULL},
{&GoProxyIO, "https://goproxy.io", DelegateToMirror}
};
def_sources_n(pl_go);