diff options
author | Santiago M. Mola <santi@mola.io> | 2017-03-10 12:36:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-10 12:36:01 +0100 |
commit | 4eef16a98d093057f1e4c560da4ed3bbba67cd76 (patch) | |
tree | e09571ad1687f6ce747b6956728997e05432e0a9 /_examples | |
parent | f64e4b856865bc37f45e55ef094060481b53928e (diff) | |
parent | 8df64141e32abd9bd07d5dfd917c76a8a6dbe3f6 (diff) | |
download | go-git-4eef16a98d093057f1e4c560da4ed3bbba67cd76.tar.gz |
Merge pull request #303 from ajnavarro/fix/gopkg-in
project: move imports from srcd.works to gopkg.in
Diffstat (limited to '_examples')
-rw-r--r-- | _examples/clone/main.go | 4 | ||||
-rw-r--r-- | _examples/common_test.go | 2 | ||||
-rw-r--r-- | _examples/custom_http/main.go | 10 | ||||
-rw-r--r-- | _examples/log/main.go | 6 | ||||
-rw-r--r-- | _examples/open/main.go | 4 | ||||
-rw-r--r-- | _examples/progress/main.go | 4 | ||||
-rw-r--r-- | _examples/push/main.go | 4 | ||||
-rw-r--r-- | _examples/remotes/main.go | 10 | ||||
-rw-r--r-- | _examples/showcase/main.go | 6 |
9 files changed, 25 insertions, 25 deletions
diff --git a/_examples/clone/main.go b/_examples/clone/main.go index 27d043b..3b24af2 100644 --- a/_examples/clone/main.go +++ b/_examples/clone/main.go @@ -4,8 +4,8 @@ import ( "fmt" "os" - "srcd.works/go-git.v4" - . "srcd.works/go-git.v4/_examples" + "gopkg.in/src-d/go-git.v4" + . "gopkg.in/src-d/go-git.v4/_examples" ) // Basic example of how to clone a repository using clone options. diff --git a/_examples/common_test.go b/_examples/common_test.go index f65c1dc..cb101e2 100644 --- a/_examples/common_test.go +++ b/_examples/common_test.go @@ -66,7 +66,7 @@ func tempFolder() string { func packageFolder() string { return filepath.Join( build.Default.GOPATH, - "src", "srcd.works/go-git.v4", + "src", "gopkg.in/src-d/go-git.v4", ) } diff --git a/_examples/custom_http/main.go b/_examples/custom_http/main.go index f584da2..0d45080 100644 --- a/_examples/custom_http/main.go +++ b/_examples/custom_http/main.go @@ -7,11 +7,11 @@ import ( "os" "time" - "srcd.works/go-git.v4" - . "srcd.works/go-git.v4/_examples" - "srcd.works/go-git.v4/plumbing/transport/client" - githttp "srcd.works/go-git.v4/plumbing/transport/http" - "srcd.works/go-git.v4/storage/memory" + "gopkg.in/src-d/go-git.v4" + . "gopkg.in/src-d/go-git.v4/_examples" + "gopkg.in/src-d/go-git.v4/plumbing/transport/client" + githttp "gopkg.in/src-d/go-git.v4/plumbing/transport/http" + "gopkg.in/src-d/go-git.v4/storage/memory" ) // Here is an example to configure http client according to our own needs. diff --git a/_examples/log/main.go b/_examples/log/main.go index da856ac..c77e5a5 100644 --- a/_examples/log/main.go +++ b/_examples/log/main.go @@ -3,9 +3,9 @@ package main import ( "fmt" - "srcd.works/go-git.v4" - . "srcd.works/go-git.v4/_examples" - "srcd.works/go-git.v4/storage/memory" + "gopkg.in/src-d/go-git.v4" + . "gopkg.in/src-d/go-git.v4/_examples" + "gopkg.in/src-d/go-git.v4/storage/memory" ) // Example of how to: diff --git a/_examples/open/main.go b/_examples/open/main.go index 9174588..a5364ed 100644 --- a/_examples/open/main.go +++ b/_examples/open/main.go @@ -4,8 +4,8 @@ import ( "fmt" "os" - "srcd.works/go-git.v4" - . "srcd.works/go-git.v4/_examples" + "gopkg.in/src-d/go-git.v4" + . "gopkg.in/src-d/go-git.v4/_examples" ) // Open an existing repository in a specific folder. diff --git a/_examples/progress/main.go b/_examples/progress/main.go index 6d68f84..357703c 100644 --- a/_examples/progress/main.go +++ b/_examples/progress/main.go @@ -3,8 +3,8 @@ package main import ( "os" - "srcd.works/go-git.v4" - . "srcd.works/go-git.v4/_examples" + "gopkg.in/src-d/go-git.v4" + . "gopkg.in/src-d/go-git.v4/_examples" ) // Example of how to show the progress when you do a basic clone operation. diff --git a/_examples/push/main.go b/_examples/push/main.go index 809c26b..89d7773 100644 --- a/_examples/push/main.go +++ b/_examples/push/main.go @@ -3,8 +3,8 @@ package main import ( "os" - "srcd.works/go-git.v4" - . "srcd.works/go-git.v4/_examples" + "gopkg.in/src-d/go-git.v4" + . "gopkg.in/src-d/go-git.v4/_examples" ) // Example of how to open a repository in a specific path, and push to diff --git a/_examples/remotes/main.go b/_examples/remotes/main.go index 06ffdd1..31c5cc5 100644 --- a/_examples/remotes/main.go +++ b/_examples/remotes/main.go @@ -3,11 +3,11 @@ package main import ( "fmt" - "srcd.works/go-git.v4" - . "srcd.works/go-git.v4/_examples" - "srcd.works/go-git.v4/config" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/storage/memory" + "gopkg.in/src-d/go-git.v4" + . "gopkg.in/src-d/go-git.v4/_examples" + "gopkg.in/src-d/go-git.v4/config" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/storage/memory" ) // Example of how to: diff --git a/_examples/showcase/main.go b/_examples/showcase/main.go index 82c2acf..7bd9d09 100644 --- a/_examples/showcase/main.go +++ b/_examples/showcase/main.go @@ -5,10 +5,10 @@ import ( "os" "strings" - "srcd.works/go-git.v4" - "srcd.works/go-git.v4/plumbing/object" + "gopkg.in/src-d/go-git.v4" + "gopkg.in/src-d/go-git.v4/plumbing/object" - . "srcd.works/go-git.v4/_examples" + . "gopkg.in/src-d/go-git.v4/_examples" ) // Example of an specific use case: |