【Go】bee工具安装报错:module declares its path as: github.com/go-delve/delve but was required as: github.com

一、【报错】

通过go get下载bee工具时报错:

>>> go get github.com/beego/bee
go: github.com/beego/bee imports
        github.com/beego/bee/cmd imports
        github.com/beego/bee/cmd/commands/dlv imports
        github.com/derekparker/delve/service: github.com/derekparker/delve@v1.4.0: parsing go.mod:
        module declares its path as: github.com/go-delve/delve
                but was required as: github.com/derekparker/delve

二、【解决

1、打开 https://github.com/beego/bee/releases

2、找到系统对应版本

3、解压出一个文件夹,把其中的bee可执行文件放到你的$GOPATH/bin下即可

4、执行 bee version

 

参考:

1、 https://www.lookcos.cn/?p=556

相关文章

developer-roadmap —— 提供最全的开发者技术路线指南。前端...
一个极简的文件分享工具,无需注册且没有广告即可生成共享下...
收集 Github、Gitee优秀的开源项目,并进行归类整理。项目地...
大家好,我是 Java陈序员,我们有时会搭建一个属于自己的网站...
一个提供交互式的Web UI用于生成兼容MyBatisPlus框架的相关功...
大家好,我是 Java 陈序员。权限认证是我们日常开发绕不过的...