如何使用 dep 輕松使用自己的分叉包?當(dāng)我的更改被接受時(shí),我希望能夠再次使用上游。
1 回答
翻翻過去那場雪
TA貢獻(xiàn)2065條經(jīng)驗(yàn) 獲得超14個(gè)贊
雖然dep不再是這樣做的首選方式,(從 go1.11 開始首選模塊)
有了約束,這很容易,它仍然會(huì)在代碼中隨處引用并通過github.com/upstream/repo.
[[constraint]] name = "github.com/upstream/repo" branch = "forked-branch-name" source = "github.com/lexton/repo"
- 1 回答
- 0 關(guān)注
- 151 瀏覽
添加回答
舉報(bào)
0/150
提交
取消
