Update README.md

This commit is contained in:
Suhaib Mujahid 2020-03-23 21:05:30 -04:00 committed by lhchavez
parent 2b66c0f9e7
commit 3a2102638d
1 changed files with 4 additions and 1 deletions

View File

@ -15,8 +15,11 @@ Due to the fact that Go 1.11 module versions have semantic meaning and don't nec
| 0.28 | v28 | | 0.28 | v28 |
| 0.27 | v27 | | 0.27 | v27 |
You can import them in your project via `go get` or a regular `import` with the version number as a suffix. For example, if you have libgit2 v0.99 installed, you'd import with 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
```sh
go get github.com/libgit2/git2go/v29
```
```go ```go
import "github.com/libgit2/git2go/v29" import "github.com/libgit2/git2go/v29"
``` ```