go mod 拉取 gogs 私有仓库
环境变量设置
添加环境变量或设置go env123export GOPRIVATE=git.hofo.co# 或者go env -w GOPRIVATE=git.hofo.co
git设置
在git设置http.extraheader
PRIVATE-TOKEN生成方式: 在点击gogs右上头像-用户设置-授权应用-生成新的token1git config --global http...
阅读全文…