我有一个(私有)github存储库和一个Go模块。我已经添加了标签,github显示了该标签。我已经设置了,我的 ~/.git 配置有v0.1go env -w GOPRIVATE=github.com/dwschulze/key-value-mod[url "git@github.com:"] insteadOf = https://github.com/
但无法检索我的模块:go get
$ go get github.com/dwschulze/key-value-mod
go: github.com/dwschulze/key-value-mod upgrade => v0.0.0-20210907155619-9116b97467d6
go get: github.com/dwschulze/key-value-mod@v0.0.0-20210907155619-9116b97467d6: parsing go.mod:
module declares its path as: key-value-mod
but was required as: github.com/dwschulze/key-value-mod
$ go get github.com/dwschulze/key-value-mod@v0.1
go get github.com/dwschulze/key-value-mod@v0.1: no matching versions for query "v0.1"
有什么问题?go get
胡子哥哥
哈士奇WWW
qq_遁去的一_1
相关分类