我想导入一个 Go 模块,其中包含以下内容go.mod:
> grep plist go.mod
github.com/DHowett/go-plist v0.0.0-20180609054337-500bd5b9081b
howett.net/plist v0.0.0-20181124034731-591f970eefbb // indirect
但是,如果我尝试go get该包,我会收到以下错误消息:
go: github.com/DHowett/go-plist@v0.0.0-20181124034731-591f970eefbb: parsing go.mod: unexpected module path "howett.net/plist"
go get: error loading module requirements
如果我尝试执行以下操作,我也会收到此错误go get github.com/DHowett/go-plist:
> go get github.com/DHowett/go-plist
go: finding github.com/DHowett/go-plist latest
go: github.com/DHowett/go-plist@v0.0.0-20181124034731-591f970eefbb: parsing go.mod: unexpected module path "howett.net/plist"
go: error loading module requirements
如何修复此错误以便导入该模块?
千万里不及你
偶然的你
相关分类