翻翻过去那场雪
虽然dep不再是这样做的首选方式,(从 go1.11 开始首选模块)有了约束,这很容易,它仍然会在代码中随处引用并通过github.com/upstream/repo.[[constraint]]
name = "github.com/upstream/repo"
branch = "forked-branch-name"
source = "github.com/lexton/repo"