英文:
Could not found https://github.com/mbanzon/simplehttp golang module. Where it has gone?
问题
我正在调试一些 Golang 代码,发现其中使用了 mbanzon/simplehttp 库进行 HTTP 操作,但是这个库在 GitHub 上已经不存在了。
这个模块是否已经成为 Golang 核心库的一部分?有没有相关的指引?
英文:
I was debugging some golang code and found that mbanzon/simplehttp library has been used for http operation but this library does not exist on github anymore.
Is this module became the part of golang core libraries? Any pointers?
答案1
得分: 1
请执行以下命令:go get github.com/bmob/goLib/mbanzon/simplehttp
英文:
Do go get github.com/bmob/goLib/mbanzon/simplehttp
答案2
得分: 1
很抱歉给你带来麻烦。
我找到了旧的代码并恢复了代码库(我没有原始的提交/历史记录,所以只能使用最新状态的单个提交)。
希望这有所帮助。
起初,我进行了一次调查,看是否有人在外部使用这个库,当我没有找到任何使用者时,我将其移除了 - 现在我每天都依赖于 https://github.com/mbanzon/walgo。
该库最初是为与 https://github.com/mailgun/mailgun-go 一起使用而创建的 - 对该库的更改使得 simplehttp
变得过时,我开始使用 walgo
库(主要用于请求验证等)。
英文:
Sorry to cause this trouble.
I've found the old code and restored the repository (I don't have the original commits/history so a single commit of the latest state must do).
I hope this helps.
I initially did a sweep to see if anyone outside used the library and when I didn't find any I removed it - I now rely on https://github.com/mbanzon/walgo on a day-to-day basis.
The library was originally created to be used with https://github.com/mailgun/mailgun-go - changes to that library made simplehttp
obsolete and I started using the walgo
library (focusing on request verification etc.).
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论