libi / dcron

轻量分布式定时任务库 a lightweight distributed job scheduler library
MIT License
422 stars 73 forks source link

能不能出一个启动教程,感谢 #10

Closed cyilu closed 3 years ago

cyilu commented 3 years ago

如题,感谢

cyilu commented 3 years ago

我出现了一个错误 go: github.com/gomodule/redigo@v2.0.0+incompatible: Get "https://proxy.golang.org/github.com/gomodule/redigo/@v/v2.0.0+incompatible.mod": dial tcp 172.217.27.145:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

libi commented 3 years ago

@cyilu 这是因为你本地 go mod 的代理配置成了 proxy.golang.org ,golang.org 国内需要搭梯子。 建议使用指令切换到阿里云的 goproxy 即可。

export GOPROXY=https://mirrors.aliyun.com/goproxy/