go mod 指定分支

go mod 指定分支

在go.mod,库地址后面加上分支,如下

XX.XX.com/XXX/XXX feature/f1

然后,go build即可,自动改为sha码

你可能感兴趣的:(golang,golang)