From 7694d5f5fcef65ca981eb66d803d34b464a4aa14 Mon Sep 17 00:00:00 2001 From: lhchavez Date: Wed, 19 Feb 2020 03:21:38 +0000 Subject: [PATCH] Add the /v28 suffix to go.mod This is compliant with https://github.com/golang/go/wiki/Modules#releasing-modules-v2-or-higher, which says ``` Major branch: Update the go.mod file to include a /v3 at the end of the module path in the module directive (e.g., module github.com/my/module/v3). Update import statements within the module to also use /v3 (e.g., import "github.com/my/module/v3/mypkg"). Tag the release with v3.0.0. ``` This also means that unfortunately we cannot keep using libgit2's exact version number (plus a build number for git2go purposes, since go only recognizes vMAJOR.MINOR.PATCH format). (Tentatively) fixes: #536 --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 688b8e3..2f6ec60 100644 --- a/go.mod +++ b/go.mod @@ -1 +1 @@ -module github.com/libgit2/git2go +module github.com/libgit2/git2go/v28