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

Go 下载依赖问题,尝试解决 #1

Open
xiaoxpai opened this issue Jan 3, 2025 · 0 comments
Open

Go 下载依赖问题,尝试解决 #1

xiaoxpai opened this issue Jan 3, 2025 · 0 comments

Comments

@xiaoxpai
Copy link
Owner

xiaoxpai commented Jan 3, 2025

go list -u -m all - 查看所有直接和间接依赖项的可用次版本和补丁升级

获取特定模块的版本

go list -m all | grep golang.org/x/text | awk '{print $2}'

or

go list -u -m all | grep golang.org/x/text | awk '{print $2}'

一般是

go list -u -m all | grep <module-name> | awk '{print $2}'

from to Go-find-version-of-a-module

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant