My employer recently switched git provider, from bitbucket to github. There was also a different developer working on this project. I noticed he used Godeps. I am wondering if this package could help me change all the package imports/links to github instead of bitbucket.
Note: I am fairly new with goLang.
Thank you!
Expected behavior
Need go install to look for 'github.com/accountName/repoName/folderName' instead of 'bitbucket.org/accountName/repoName/folderName'.
Actual behavior
After 'go clone' from github. Did 'go install'. I am receiving '.... cannot find package "bitbucket.org/accountName/repoName/folderName" in any of:'
/Users/myName/golang/src/github.com/accountName/repoName/vendor/bitbucket.org/accountName/repoName/folderName (vendor tree)
/usr/local/go/src/bitbucket.org/accountName/repoName/folderName (from $GOROOT)
/Users/myName/golang/src/bitbucket.org/accountName/repoName/folderName (from $GOPATH)
Hi,
My employer recently switched git provider, from bitbucket to github. There was also a different developer working on this project. I noticed he used Godeps. I am wondering if this package could help me change all the package imports/links to github instead of bitbucket.
Note: I am fairly new with goLang.
Thank you!
Expected behavior
Need go install to look for 'github.com/accountName/repoName/folderName' instead of 'bitbucket.org/accountName/repoName/folderName'.
Actual behavior
After 'go clone' from github. Did 'go install'. I am receiving '.... cannot find package "bitbucket.org/accountName/repoName/folderName" in any of:' /Users/myName/golang/src/github.com/accountName/repoName/vendor/bitbucket.org/accountName/repoName/folderName (vendor tree) /usr/local/go/src/bitbucket.org/accountName/repoName/folderName (from $GOROOT) /Users/myName/golang/src/bitbucket.org/accountName/repoName/folderName (from $GOPATH)
Steps to reproduce behavior
Private repo. Please excuse the privacy.
godep version
outputI have not installed godep myself.
go version
outputgo version go1.10.3 darwin/amd64
Contents of Godeps.json file
{ "ImportPath": "bitbucket.org/accountName/repoName", "GoVersion": "go1.7", "GodepVersion": "v79", "Deps": [ ... ], }