diff --git a/src/framework/struct.h b/src/framework/struct.h index 742e6aa..6904839 100644 --- a/src/framework/struct.h +++ b/src/framework/struct.h @@ -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 = { diff --git a/src/recipe/lang/Go.c b/src/recipe/lang/Go.c index 355e3d8..67f9f75 100644 --- a/src/recipe/lang/Go.c +++ b/src/recipe/lang/Go.c @@ -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/"},