Go的git库 [英] git library for Go
问题描述
现在,我想以此为契机与Go一起玩一下。但是,我似乎无法找到任何(甚至没有最小的方法)Go的git库。
实际上有没有?
显然我对Go的了解是不存在的,所以为libgit编写绑定似乎并不是一种有趣的方式。 (我可能会诉诸ruby,我也不知道)
我会说 git2go 是Go中使用的git绑定库。它定期更新并由运行libgit2的人维护。
如果您正在寻找纯粹用Go编写的git实现, go-git from source {d } 是最成熟和最活跃的选择。
As a pet project, I want to develop a note taking app using git as storage backend. (I suspect this doesn't exist yet, given this guy's blog post: http://jarofgreen.co.uk/2012/08/how-about-a-mobile-note-app-backed-by-git/ )
Now, I'd like to take this as an opportunity to play around with Go a bit. However, I cannot seem to find any (not even the tiniest approach to) git library for Go. Is there actually any?
Obviously my knowledge of Go is non-existant, so writing bindings for libgit doesn't seem a fun way to start... (and I would probably resort to ruby, which I don't know either)
I'd say git2go is the git bindings library to use in Go. It is updated regularly and maintained by the people running libgit2.
If you are looking for a git implementation purely written in Go, go-git from source{d} is the most mature and active option.
这篇关于Go的git库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!