diff options
| author | lhchavez <[email protected]> | 2020-04-02 07:42:29 -0700 |
|---|---|---|
| committer | lhchavez <[email protected]> | 2020-04-02 07:53:59 -0700 |
| commit | 13ca96065e6be3292c931cc580bbc125962b394e (patch) | |
| tree | 8d7bdf13374c3d141ea357603e3e74eaee4e790c /README.md | |
| parent | 0843b826d219b16d55d3bb7fffbb5fb3fbbf82f8 (diff) | |
Uprev vendor/libgit2 to v1.0
This uprevs libgit2 to the latest and greatest.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -10,18 +10,19 @@ Due to the fact that Go 1.11 module versions have semantic meaning and don't nec | libgit2 | git2go | |---------|---------------| -| master | (will be v30) | +| master | (will be v31) | +| 1.0 | v30 | | 0.99 | v29 | | 0.28 | v28 | | 0.27 | v27 | -You can import them in your project with the version's major number as a suffix. For example, if you have libgit2 v0.99 installed, you'd import git2go v29 with +You can import them in your project with the version's major number as a suffix. For example, if you have libgit2 v1.0 installed, you'd import git2go v30 with ```sh -go get github.com/libgit2/git2go/v29 +go get github.com/libgit2/git2go/v30 ``` ```go -import "github.com/libgit2/git2go/v29" +import "github.com/libgit2/git2go/v30" ``` which will ensure there are no sudden changes to the API. @@ -42,10 +43,10 @@ This project wraps the functionality provided by libgit2. If you're using a vers ### Versioned branch, dynamic linking -When linking dynamically against a released version of libgit2, install it via your system's package manager. CGo will take care of finding its pkg-config file and set up the linking. Import via Go modules, e.g. to work against libgit2 v0.99 +When linking dynamically against a released version of libgit2, install it via your system's package manager. CGo will take care of finding its pkg-config file and set up the linking. Import via Go modules, e.g. to work against libgit2 v1.0 ```go -import "github.com/libgit2/git2go/v29" +import "github.com/libgit2/git2go/v30" ``` ### Master branch, or static linking |
