mirror of
https://github.com/RubyMetric/chsrc
synced 2025-06-09 04:16:21 +08:00
Update Go
upstream
This commit is contained in:
parent
82d01f7b99
commit
920933fc47
@ -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 =
|
||||
{
|
||||
|
@ -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/"},
|
||||
|
Loading…
x
Reference in New Issue
Block a user