2

Using the advised install command

go get github.com/beego/bee

Results in the below error:

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

Does anyone have an idea on how to solve this?

shapiro yaacov
  • 2,308
  • 2
  • 26
  • 39
  • Hello and welcome! This question would attract more answers if it had a more descriptive title. Also, it's good that you shared the error message, but ideally a question has some text describing the problem and the context. – François Gaudin Sep 18 '20 at 05:04

1 Answers1

3

Refer from this issue, export export GO111MODULE=on before go get.

spike 王建
  • 1,556
  • 5
  • 14