akma darmawan
akma darmawan

Reputation: 21

go get github.com/beego/bee Error install

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?

Upvotes: 2

Views: 300

Answers (1)

spike 王建
spike 王建

Reputation: 1714

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

Upvotes: 3

Related Questions