Update README.md

(cherry picked from commit 3a2102638d)
This commit is contained in:
Suhaib Mujahid 2020-03-23 21:05:30 -04:00 committed by lhchavez
parent 59a177dd02
commit 0dfadb0dd0
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.27 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.27 installed, you'd import git2go v27 with
```sh
go get github.com/libgit2/git2go/v27
```
```go ```go
import "github.com/libgit2/git2go/v27" import "github.com/libgit2/git2go/v27"
``` ```