全部homebrewMacOSCAopenssldifyRAGFlowgostylepackage managerembedlazygitgit面试genericsliceopensshwindowpromethenusnginxPHPPSR标准规范linuxlive reloadvue

现在项目开发有很多私有仓库,直接git clone的方式使用,不是怎么方便。

查询go源码发现go get支持的协议除了https还支持git+ssh, bzr+ssh, svn+ssh, ssh

$GOSRC/cmd/go/internal/get/vsc.go

var defaultSecureScheme = map[string]bool{
	"https":   true,
	"git+ssh": true,
	"bzr+ssh": true,
	"svn+ssh": true,
	"ssh":     true,
}
1
2
3
4
5
6
7
2021/6/28 gopackage manager