Map libgit2 versions to git2go module versions
mainBecause Go 1.11 module versions follow semantic versioning and do not align with libgit2's release schedule, you must use the correct git2go module suffix to match your installed libgit2 version. This ensures API stability.
| libgit2 | git2go module version |
|---|---|
| main | (will be v35) |
| 1.5 | v34 |
| 1.3 | v33 |
| 1.2 | v32 |
| 1.1 | v31 |
| 1.0 | v30 |
| 0.99 | v29 |
| 0.28 | v28 |
| 0.27 | v27 |