(https://static.studygolang.com/211225/0388e3ab542faf8b8b2ddf0dd945bf6e.png)
[Snipaste_2021-12-25_17-03-08.png]
报错内容:
go: server/proto/getCaptcha imports
go-micro.dev/v4/api: go-micro.dev/v4/api@v1.18.0: parsing go.mod:
module declares its path as: github.com/micro/go-micro
but was required as: go-micro.dev/v4/api
请大神指点,谢谢!
<a href="/user/smally84" title="@smally84">@smally84</a> set GOPATH=E:\goland\path;D:\code\go
set GOPRIVATE=*.corp.example.com
set GOPROXY=https://goproxy.cn,direct
set GOROOT=C:\Program Files\Go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=C:\Program Files\Go\pkg\tool\windows_amd64
设置了,golang开发工具,设置好了的
#3
更多评论
<a href="/user/smally84" title="@smally84">@smally84</a> set GOPATH=E:\goland\path;D:\code\go
set GOPRIVATE=*.corp.example.com
set GOPROXY=https://goproxy.cn,direct
set GOROOT=C:\Program Files\Go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=C:\Program Files\Go\pkg\tool\windows_amd64
#2