我想使用Go Remote资源库缓存/代理Github。我已经创建了Go远程回购github
代理https://github.com/
(如https://www.jfrog.com/confluence/display/RTF/Go+Registry#GoRegistry-RemoteRepositories中所述添加了凭据)。
当我运行go get
工件日志时,显示以下错误:
2019-05-29 16:01:29,586 [http-nio-8081-exec-252] [ERROR] (o.a.a.g.r.GoResource:88) - Unsupported go repository request for 'github'```
在Artifactory Go存储库中,您无法直接从远程存储库中进行解析,而必须从虚拟存储库中进行解析。只需将其包含在任何Go虚拟存储库中,您就应该很好。
另外,为什么不对Go软件包使用gocenter?这是更可靠的IMO。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句