We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用 go mod 进项包管理但是添加 rpcx 的时候包管理出现了问题。如下:
go: finding github.com/smallnest/rpcx/server latest go: finding github.com/smallnest/rpcx latest go: labix.org/v2/mgo@v0.0.0-20140701140051-000000000287: bzr branch --use-existing-dir https://launchpad.net/mgo/v2 . in D:\GoPath\pkg\mod\cache\vcs\ca61c737a32b1e09a0919e15375f9c2b6aa0 9860cc097f1333b3c3d29e040ea8: exec: "bzr": executable file not found in %PATH% go: launchpad.net/gocheck@v0.0.0-20140225173054-000000000087: bzr branch --use-existing-dir https://launchpad.net/~niemeyer/gocheck/trunk . in D:\GoPath\pkg\mod\cache\vcs\f46ce2ae80d31f 9b0a29099baa203e3b6d269dace4e5357a2cf74bd109e13339: exec: "bzr": executable file not found in %PATH% go: error loading module requirements
The text was updated successfully, but these errors were encountered:
提示信息已经提醒你了, labix.org/v2/mgo 是使用 bzr版本工具管理的,所以你需要下载bzr工具。
不过我还是修改了go.mod,强制切换成git版本管理的版本, 避免有的用户没有安装bzr
Sorry, something went wrong.
好的多谢 我自己替换了就好了
replace launchpad.net/gocheck v0.0.0-20140225173054-000000000087 => github.com/go-check/check v0.0.0-20180628173108-788fd7840127 replace labix.org/v2/mgo v0.0.0-20140701140051-000000000287 => github.com/go-mgo/mgo v0.0.0-20180705113738-7446a0344b78
No branches or pull requests
使用 go mod 进项包管理但是添加 rpcx 的时候包管理出现了问题。如下:
The text was updated successfully, but these errors were encountered: