From 4681adf414bb3923cebfd0eb1532257f32d3cc21 Mon Sep 17 00:00:00 2001 From: Suhaib Mujahid Date: Mon, 23 Mar 2020 21:05:30 -0400 Subject: [PATCH] Update README.md (cherry picked from commit 3a2102638d64cd76e50f51577e8bb2b8f9c7035f) --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7d2f803..a718fbd 100644 --- a/README.md +++ b/README.md @@ -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.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.28 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.28 installed, you'd import git2go v28 with +```sh +go get github.com/libgit2/git2go/v28 +``` ```go import "github.com/libgit2/git2go/v28" ```