2020完美解决最新beeGo2.0 go mod 下bee无法正常安装的问题
创建一个go mod 下的文件夹 其他技能:go启用了go.mod模式关闭方法(go env -w GO111MODULE=off)
mkdir test
cd test
go mod init test
在 go.mod 内把 bee 的源替换掉,如下所示:
github.com/realguan/bee 是我 fork 了 github.com/beego/bee 的源码,进行了源代码更改:
module test
replace github.com/beego/bee v1.10..
原创
2020-11-23 14:29:56 ·
16672 阅读 ·
0 评论