微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

去获取github.com/beego/bee错误安装

如何解决去获取github.com/beego/bee错误安装

使用建议的安装命令

go get github.com/beego/bee

导致以下错误

github.com/gadelkareem/delve/service/rpc2
go/src/github.com/gadelkareem/delve/service/rpc2/client.go:23:5: cannot use &RPcclient literal (type *RPcclient) as type service.Client in assignment:
    *RPcclient does not implement service.Client (wrong type for examineMemory method)
go/src/github.com/gadelkareem/delve/service/rpc2/server.go:96:52: not enough arguments in call to s.debugger.Restart

有人对如何解决这个问题有想法吗?

解决方法

export export GO111MODULE=on之前引用此issuego get

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。