Update Go upstream

This commit is contained in:
Aoran Zeng 2024-12-18 21:09:53 +08:00
parent 82d01f7b99
commit 920933fc47
No known key found for this signature in database
GPG Key ID: 8F8BA8488E10ED98
2 changed files with 10 additions and 4 deletions

View File

@ -47,7 +47,7 @@ SourceProvider_t UpstreamProvider =
};
#define def_upstream "upstream", "Upstream", "上游默认源"
#define def_need_measure_info {SKIP, "缺乏较大的下载对象,邀您参与贡献!", "Lack of large object URL, welcome to contribute!", NULL}
#define def_need_measure_info {SKIP, "缺乏较大的测速对象,邀您参与贡献!", "Lack of large object URL, welcome to contribute!", NULL}
SourceProvider_t UserDefinedProvider =
{

View File

@ -6,9 +6,15 @@
* |
* Created On : <2023-08-30>
* Major Revision : 1
* Last Modified : <2024-10-31>
* Last Modified : <2024-12-18>
* ------------------------------------------------------------*/
static SourceProvider_t pl_go_upstream =
{
def_upstream, "https://pkg.go.dev/",
def_need_measure_info
};
static MirrorSite_t GoProxyCN =
{
"goproxy.cn", "Goproxy.cn", "Goproxy.cn (七牛云)", "https://goproxy.cn/",
@ -23,12 +29,12 @@ GoProxyIO =
/**
* @update 2024-10-31
* @update 2024-12-18
* @note
*/
static Source_t pl_go_sources[] =
{
{&UpstreamProvider, "https://proxy.golang.org"},
{&pl_go_upstream, "https://proxy.golang.org"},
{&GoProxyCN, "https://goproxy.cn"},
{&Ali, "https://mirrors.aliyun.com/goproxy/"},
{&Huawei, "https://mirrors.huaweicloud.com/goproxy/"},