Skip to content
New issue

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

根据Makefile中modvendor的注释不能下载安装modvendor #2905

Open
littleniannian opened this issue Feb 7, 2025 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@littleniannian
Copy link
Collaborator

版本信息(Version)

main

问题描述(Describe)

Makefile文件中关于modvendor的描述
需要下载modvendor,下载命令:go get -u github.com/goware/modvendor只能下载,并不能安装modvendor
使用命令 go install github.com/goware/modvendor@latest才能安装成功

截图或日志(Log)

如何复现(To Reproduce)

使用go get -u github.com/goware/modvendor命令后执行Makefile中的go_mod_vendor出现command modvendor not found报错

问题原因

  • go get -u 命令只能下载,不能安装

解决方案

  • 使用go install

变更影响面

受影响的模块或功能

外部引用的潜在问题或风险

版本兼容性

测试建议

@littleniannian littleniannian added the bug Something isn't working label Feb 7, 2025
@littleniannian littleniannian changed the title Makefile中modvendor的注释不能下载安装modvendor 根据Makefile中modvendor的注释不能下载安装modvendor Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants