Hacker GitHub

← All repos

libgit2/git2go

View on GitHub ↗ ★ 2,004 Go

Git to Go; bindings for libgit2. Like McDonald's but tastier.

5 mentions on Hacker News by 5 people: 0 stories, 5 comments · first 2015-12-14 · latest 2025-07-20

Mentions per year 5 mentions · busiest year 2015 (1)
20082026
  1. …choose (as others stated they would or prefer) to call out to an external program instead of using https://github.com/libgit2/git2go (libgit2, FFI) for example? For what it is worth, there is also a pure Go implementation:…
  2. …bindings[2]. I'm sure there are more implementations. [1]: https://github.com/jelmer/dulwich [2]: https://github.com/libgit2/git2go
  3. …://github.com/libgit2/libgit2#language-bindings [1] - https://github.com/nodegit/nodegit/issues [2] - https://github.com/libgit2/git2go/issues [3] - https://github.com/libgit2/pygit2/issues
  4. …often you end up using xargs...) An example set of tools: https://golang.org/pkg/html/template/ + https://github.com/libgit2/git2go . It's not as succinct as a bash script but it's easier to build something that's correct. Use the shell to…
  5. …to learn. When building a tool that uses git I'm wondering if it is better practice to use git2go ( https://github.com/libgit2/git2go ) or to do what this author did which is wrap the git command line tool:…