diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2020-03-10 00:40:56 +0100 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2020-03-10 00:40:56 +0100 |
commit | 2bdfd91f04068220a72feeade31defc09f2a601e (patch) | |
tree | eb3096d97addee6d5a95538a90d37fe4146312e3 /_examples/clone | |
parent | 042981be1fc9aa9b182c3c35b7e2258845e13f49 (diff) | |
download | go-git-2bdfd91f04068220a72feeade31defc09f2a601e.tar.gz |
*: migration from gopkg to go modules
Diffstat (limited to '_examples/clone')
-rw-r--r-- | _examples/clone/auth/basic/access_token/main.go | 6 | ||||
-rw-r--r-- | _examples/clone/auth/basic/username_password/main.go | 6 | ||||
-rw-r--r-- | _examples/clone/main.go | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/_examples/clone/auth/basic/access_token/main.go b/_examples/clone/auth/basic/access_token/main.go index 7f6d121..c50d026 100644 --- a/_examples/clone/auth/basic/access_token/main.go +++ b/_examples/clone/auth/basic/access_token/main.go @@ -4,9 +4,9 @@ import ( "fmt" "os" - git "gopkg.in/src-d/go-git.v4" - . "gopkg.in/src-d/go-git.v4/_examples" - "gopkg.in/src-d/go-git.v4/plumbing/transport/http" + git "github.com/go-git/go-git/v5" + . "github.com/go-git/go-git/v5/_examples" + "github.com/go-git/go-git/v5/plumbing/transport/http" ) func main() { diff --git a/_examples/clone/auth/basic/username_password/main.go b/_examples/clone/auth/basic/username_password/main.go index 754558c..8457320 100644 --- a/_examples/clone/auth/basic/username_password/main.go +++ b/_examples/clone/auth/basic/username_password/main.go @@ -4,9 +4,9 @@ import ( "fmt" "os" - git "gopkg.in/src-d/go-git.v4" - . "gopkg.in/src-d/go-git.v4/_examples" - "gopkg.in/src-d/go-git.v4/plumbing/transport/http" + git "github.com/go-git/go-git/v5" + . "github.com/go-git/go-git/v5/_examples" + "github.com/go-git/go-git/v5/plumbing/transport/http" ) func main() { diff --git a/_examples/clone/main.go b/_examples/clone/main.go index 1952e76..0315f91 100644 --- a/_examples/clone/main.go +++ b/_examples/clone/main.go @@ -4,8 +4,8 @@ import ( "fmt" "os" - "gopkg.in/src-d/go-git.v4" - . "gopkg.in/src-d/go-git.v4/_examples" + "github.com/go-git/go-git/v5" + . "github.com/go-git/go-git/v5/_examples" ) // Basic example of how to clone a repository using clone options. |