3
與Godeps混淆在一起。假設我將Go代碼貢獻給中央存儲庫,現在我需要提取代碼並貢獻我自己的代碼更改。什麼是正確godep
流量?Godeps開發流程?
難道是:
git pull // pull latest master
godep restore // Install the package versions specified in Godeps/Godeps.json to $GOPATH
go get foo/bar // Get package foo/bar and edit your code to import foo/bar
godep save ./... // Saves dependencies
// Then, check into source control