英文:
Is go get needed in order to use packages
问题
需要在包上使用go get
吗?我的代码在这里:https://github.com/retep-mathwizard/utils
我的包依赖于其他项目。
英文:
Is it needed to go get
on packages? My code is here: https://github.com/retep-mathwizard/utils
My packages have dependencies on other items
答案1
得分: 1
go get会检出它们所需的依赖项。例如,当我通过以下方式获取您的一个软件包时:
go get github.com/retep-mathwizard/utils/convert
go还会获取skilstak资源,因为您的软件包依赖于它。
go get的文档中说:
Get会下载并安装由导入路径指定的软件包,以及它们的依赖项。
英文:
go get will checkout the needed dependencies for them. For instance when I go get one of your packages via:
go get github.com/retep-mathwizard/utils/convert
go also gets the skilstak resource because your package is dependent on it.
The go get documentation says:
Get downloads and installs the packages named by the import paths, along with their dependencies.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论