<p>Are there open source projects that could show how to use the various package managers, Godep, GB, the new vendoring experiment and any other dependency manager?</p>
<hr/>**评论:**<br/><br/>bbrazil: <pre><p>Prometheus is using the new experimental vendoring, and was previously using godep. It seems to be working fine thus far, other than requiring an environment variable.</p></pre>barakmich: <pre><p>I'm a bit strange but this is my compromise: The model for Cayley* (as it's both a service and a library) has been a Godep file (just SHAs, unvendored code) to track what the code was for rebuilding old binary releases, but still works in the <code>go get</code> way as a library from head, which stays unbroken.</p>
<p>Will see what the official vendoring story ultimately becomes and probably migrate to that tracking file in the same way.</p>
<ul>
<li><a href="https://github.com/google/cayley" rel="nofollow">https://github.com/google/cayley</a></li>
</ul></pre>freeformz: <pre><p>FWIW: Godep supports GO15VENDOREXPERIMENT</p></pre>maxicohen: <pre><p>FWIW: Godep sucks! </p></pre>girishso: <pre><p>I wonder what sucks about Godep?</p></pre>y4m4b4: <pre><p>You could take a look at <a href="https://github.com/minio/mc" rel="nofollow">https://github.com/minio/mc</a>. We use the new vendoring style from Golang 1.5.x releases. Earlier we used Godeps but we moved to vendoring style after Go 1.5 was released.</p></pre>quiI: <pre><p>fwiw this uses godeps <a href="https://github.com/quii/mockingjay-server" rel="nofollow">https://github.com/quii/mockingjay-server</a></p></pre>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传