SaaSHub helps you find the best software and product alternatives Learn more →
Top 20 Go Diff Projects
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
Git is generally insufferable when it comes to these. Diffing YAMLs is even worse, and it gets downright hideous when the specific document you're working with betrays YAML's rules about orderedness (the document is order invariant, while YAML is ordered). In that case, even most semantic diffing tools become unusable.
I've been recently using dyff [0] to diff YAMLs in an order invariant way, and it's been absolutely liberating. Couldn't help with version control, but it's still night and day.
[0] https://github.com/homeport/dyff
-
-
libopenapi
libopenapi is a fully featured, high performance OpenAPI 3.2, 3.1, 3.0, Overlays and Arazzo parser, library, validator and toolkit for go applications.
Project mention: Your MCP Server Is Eating Your Context Window. There's a Simpler Way | dev.to | 2026-03-16OpenAPI-native, no code generation. The binary embeds the latest Apideck Unified API spec. On startup, it parses the spec with libopenapi and builds commands for every API group, resource, and operation. When the API adds new endpoints, apideck sync pulls the latest spec. No SDK regeneration, no version bumps.
-
pgdiff
Compares the PostgreSQL schema between two databases and generates SQL statements that can be run manually against the second database to make their schemas match.
-
-
-
-
-
-
xferspdy
Xferspdy provides binary diff and patch library in golang. [Mentioned in Awesome Go, https://github.com/avelino/awesome-go]
-
-
srctx
A library for extracting and analyzing definition/reference graphs from your codebase. Powered by tree-sitter and LSIF/SCIP.
-
-
sbomlyze
SBOM diff & analysis tool for software supply-chain security, integrity drift detection, and CI/CD enforcement
-
-
-
That’s why I created godiffyaml, a tool designed to solve this exact issue. Whether you’re a developer, DevOps engineer, or system admin, godiffyaml makes diffing multi-document YAML files painless.
Go Diff discussion
Go Diff related posts
-
Show HN: Codiff, a local diff review tool
-
API Versioning Without the Mess
-
The (Lazy) Git UI You Didn't Know You Need
-
Git, JSON and Markdown walk into bar
-
Backward compatibility in NestJS
-
Stripe V2
-
Show HN: Diffnav – a diff pager based on delta but with a file tree, à la GitHub
-
A note from our sponsor - SaaSHub
www.saashub.com | 12 Jun 2026
Index
What are some of the best open-source Diff projects in Go? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | jd | 2,274 |
| 2 | terraboard | 2,008 |
| 3 | dyff | 1,845 |
| 4 | diffnav | 1,403 |
| 5 | oasdiff | 1,225 |
| 6 | libopenapi | 847 |
| 7 | pgdiff | 504 |
| 8 | deck | 493 |
| 9 | revdiff | 447 |
| 10 | got | 266 |
| 11 | go-udiff | 232 |
| 12 | JayDiff | 110 |
| 13 | xferspdy | 101 |
| 14 | cuetils | 78 |
| 15 | srctx | 59 |
| 16 | infro-core | 25 |
| 17 | sbomlyze | 22 |
| 18 | tfscan | 8 |
| 19 | git-file-history | 5 |
| 20 | godiffyaml | 5 |