在govendor中,可以为依赖项的每个包指定所需的修订版本。例如:
Repo" github.com/myorg/myrepo"。
Package" github.com/myorg/myrepo/x"修订版" 16b65b2a4e3d30f47875b1cb2abc8a43fc"
Package" github.com/myorg/myrepo/y"修订版" 2190sdfds034e3d30f47875b1cb2a434c"
代码示例:
{
"checksumSHA1": "KP40Q38cB087cxh4TU1LWe1KOP4=",
"path": "github.com/myorg/myrepo/x",
"revision": "16b65b2a4e3d30f47875b1cb2abc8a43fc",
"revisionTime": "2016-10-21T14:31:02Z"
},
{
"checksumSHA1": "KP40Q38cB087cxh4TU1LWe1KOP4=",
"path": "github.com/myorg/myrepo/y",
"revision": "2190sdfds034e3d30f47875b1cb2a434c",
"revisionTime": "2017-12-21T14:31:02Z"
},
这与Dep有关吗?
谢谢!