https://github.com/beego/bee/issues/582
原因:go.mod 里面引用了github.com/derekparker/delve v0.12.1 但是dlv 迁移到了github.com/go-delve/delve
解决办法:先把go mod给关闭了,再安装就可以了
go env -w GO111MODULE=off
go get -u github.com/beego/bee
go env -w GO111MODULE=on
https://github.com/beego/bee/issues/582
原因:go.mod 里面引用了github.com/derekparker/delve v0.12.1 但是dlv 迁移到了github.com/go-delve/delve
解决办法:先把go mod给关闭了,再安装就可以了
go env -w GO111MODULE=off
go get -u github.com/beego/bee
go env -w GO111MODULE=on