英文:
PostgreSQL driver for Go programming language
问题
http://go-lang.cat-v.org/pure-go-libs列出了两个PosgreSQL驱动程序,但它们已经好几个月没有更新了,看起来像是一个人的作品。所以我想知道它们是否可靠/适用于生产环境,或者是否有其他推荐的驱动程序。
您会在生产环境中使用哪个驱动程序来与PostgreSQL一起使用?
英文:
http://go-lang.cat-v.org/pure-go-libs lists two PosgreSQL drivers, but they haven't been updated since months and looking like one man shows. So I wonder if they are reliable / ready for production or if there are other recommended drivers.
Would you use Go with PostgreSQL for production and with what driver?
答案1
得分: 11
在这个问题被提出的一年半以来,pq已经显著成熟,并且得到了积极的维护(最近一周有多人提交了多个提交,过去几个月每周都有更新)。
文档在这里:http://godoc.org/github.com/lib/pq
英文:
In the year and a half since this question was asked, pq has matured significantly and is actively maintained (multiple commits by multiple people in the last week, consistent weekly updates for the last several months).
Docs are here: http://godoc.org/github.com/lib/pq
答案2
得分: 4
A list of SQL DB drivers can be found here
英文:
A list of SQL DB drivers can be found here
答案3
得分: 2
在这个基础上,我可能不会在生产环境中选择它...
最新的似乎是https://github.com/jbarham/gopgsqldriver
但开源的一个优点是你拥有所有的源代码,所以你可以自己维护它,贡献补丁,甚至接管维护者的角色。
英文:
On this basis I probably wouldn't go for it in production...
The newest one seems to be https://github.com/jbarham/gopgsqldriver
But one of the advantages of open source is that you have all the source so you can maintain it yourself, contribute patches or even take over the maintainer's role.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论