dongzhong3688 2019-06-05 21:00 采纳率: 0%
浏览 25


I'm fairly new to Go coming from a Java background and am trying to figure out best practices for Go dependency management.

If I have Project A that has a dependency on Project B and I put a reference to Project B in my vendor package then running go install downloads everything I need. However, let's say I find a bug in Project B that I fix, how do I ensure that Project A stays up to date? As in, is there some way to do an install on every deploy to make sure that I'm not missing anything?

In Java, on every deploy I would do my own mvn package to best ensure that each deploy was self-sufficient. Is there some way to do the same in Go?

Apologies if this is a really basic question - but I couldn't find a good answer.

  • 写回答



      相关推荐 更多相似问题


      • ¥15 和您碰到了同一个问题
      • ¥15 如何在微信支付V3PHP版请求中添加header?
      • ¥15 在数字信号处理中用MATLAB显示波形。
      • ¥15 keil MDK软件进行仿真调试的局限
      • ¥15 关于gateway产生临时文件夹的问题
      • ¥15 Java Broken Pipe以及OOM
      • ¥20 请问有没有RTL8211FS的参考原理图
      • ¥50 esp32的platfromio工程添加文件就会编译失败
      • ¥15 linux下运行VASP报错
      • ¥15 python里面查找赋值,如何可以在剩余未空值的行里面进行进一步的筛选呢?