<p>Could someone tell me why go does not have a native version control for dependencies? I feel like it's been years since the language started being developed, and it's still missing one of key features of software engineering. </p>
<hr/>**评论:**<br/><br/>neoasterisk: <pre><p>Go has had go get from its very early stages. That said, version control is a very complicated matter and there is not one simple way of doing it.</p>
<p>If you mean version control the way other languages are doing it, there is a team of people that has created <a href="https://github.com/golang/dep" rel="nofollow">a tool that does exactly that</a>.</p></pre>Loves_Portishead: <pre><p>Google don't have a dependency management problem, they use a single monorepo with all their billions of lines of code, hence it never came up.</p>
<p>There's a community led effort that has the blessing of the core team, and their GitHub project has links to the context that brought them here, <a href="https://github.com/golang/dep" rel="nofollow">https://github.com/golang/dep</a> it's likely to land in 1.9, although apparently basically usable now.</p></pre>HectorJ: <pre><p>IIRC the "why" is that Go was made by Google for Google, and they do not feel the need for it. They use a giant mono-repository for their whole GOPATH<sup>[citation</sup> <sup>needed]</sup></p></pre>kaeshiwaza: <pre><p>It's not exactly this : <a href="https://golang.org/doc/faq#get_version" rel="nofollow">https://golang.org/doc/faq#get_version</a></p></pre>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传