Spa*_*key 2 go dependency-management
我想获取 Go 项目中所有依赖项的 tarball URL(或类似的)列表。我尝试使用“go list dependency”来实现这一点,但我认为不可能获得依赖项的源 URL。我怎样才能得到网址?
0x4*_*D53 6
对于当前目录,您可以通过以下方式获取导入: go list -f '{{join .Imports "\n"}}' .
go list -f '{{join .Imports "\n"}}' .
归档时间:
10 年,3 月 前
查看次数:
1111 次
最近记录: