gpt4 book ai didi

go - 无法通过 godep update ... 命令和 godep save -r ./更新 vendor deps

转载 作者:数据小太阳 更新时间:2023-10-29 03:27:39 25 4
gpt4 key购买 nike

我的 $GOPATH 中有最新的 deps。现在我想通过调用 godep update ./... 然后调用 godep save ./... 用新的 deps(最新的 GOPATH)更新我的项目 Godeps.json > 。但是我仍然在 Godeps.json 中与老部门在一起。

最佳答案

确保你有要更新的 git 提交包,你可以使用 git log 检查提交 sha-1 校验和,并确保它在 Godeps.json 中有不同的 rev 提交版本。然后在 godep 命令中包含包名 godep update github.com/package/...

关于go - 无法通过 godep update ... 命令和 godep save -r ./更新 vendor deps,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35790414/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com