当我go mod tidy在项目的根目录中运行时,我收到此消息。
go-dispatch imports
net/http imports
golang_org/x/net/http/httpguts: malformed module path "golang_org/x/net/http/httpguts": missing dot in first path element
go-dispatch imports
net/http imports
golang_org/x/net/http/httpproxy: malformed module path "golang_org/x/net/http/httpproxy": missing dot in first path element
go-dispatch imports
net/http imports
golang_org/x/net/http2/hpack: malformed module path "golang_org/x/net/http2/hpack": missing dot in first path element
go-dispatch imports
net/http imports
golang_org/x/net/idna: malformed module path "golang_org/x/net/idna": missing dot in first path element
go-dispatch imports
net/http imports
crypto/tls imports
golang_org/x/crypto/chacha20poly1305: malformed module path "golang_org/x/crypto/chacha20poly1305": missing dot in first path element
go-dispatch imports
net/http imports
crypto/tls imports
golang_org/x/crypto/curve25519: malformed module path "golang_org/x/crypto/curve25519": missing dot in first path element
go-dispatch imports
net/http imports
net imports
golang_org/x/net/dns/dnsmessage: malformed module path "golang_org/x/net/dns/dnsmessage": missing dot in first path element
go-dispatch imports
net/http imports
net imports
golang_org/x/net/lif: malformed module path "golang_org/x/net/lif": missing dot in first path element
我已经尝试了安装不同版本的 golang (1.11 - 1.13) 的所有方法,也删除了每个版本。我不知道这个问题是什么意思,但这似乎是 net/http 包中的问题。
我也尝试过更改我的 GOROOT,但据我所知设置正确。我完全不知所措,因为这发生在几个不同的项目中。所有人都有相同的错误。
MM们
相关分类