aboutsummaryrefslogtreecommitdiffstats
path: root/_examples/merge_base
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2020-03-10 00:40:56 +0100
committerMáximo Cuadros <mcuadros@gmail.com>2020-03-10 00:40:56 +0100
commit2bdfd91f04068220a72feeade31defc09f2a601e (patch)
treeeb3096d97addee6d5a95538a90d37fe4146312e3 /_examples/merge_base
parent042981be1fc9aa9b182c3c35b7e2258845e13f49 (diff)
downloadgo-git-2bdfd91f04068220a72feeade31defc09f2a601e.tar.gz
*: migration from gopkg to go modules
Diffstat (limited to '_examples/merge_base')
-rw-r--r--_examples/merge_base/helpers.go2
-rw-r--r--_examples/merge_base/main.go6
2 files changed, 4 insertions, 4 deletions
diff --git a/_examples/merge_base/helpers.go b/_examples/merge_base/helpers.go
index 179a817..2b493c8 100644
--- a/_examples/merge_base/helpers.go
+++ b/_examples/merge_base/helpers.go
@@ -5,7 +5,7 @@ import (
"os"
"strings"
- "gopkg.in/src-d/go-git.v4/plumbing/object"
+ "github.com/go-git/go-git/v5/plumbing/object"
)
func checkIfError(err error, code exitCode, mainReason string, v ...interface{}) {
diff --git a/_examples/merge_base/main.go b/_examples/merge_base/main.go
index fe6abc6..46725e1 100644
--- a/_examples/merge_base/main.go
+++ b/_examples/merge_base/main.go
@@ -3,9 +3,9 @@ package main
import (
"os"
- "gopkg.in/src-d/go-git.v4"
- "gopkg.in/src-d/go-git.v4/plumbing"
- "gopkg.in/src-d/go-git.v4/plumbing/object"
+ "github.com/go-git/go-git/v5"
+ "github.com/go-git/go-git/v5/plumbing"
+ "github.com/go-git/go-git/v5/plumbing/object"
)
type exitCode int