We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
完全按照readme操作,build时报错:
唯一的区别是使用bee(v2.0.2)新建项目引用的是github.com/beego/beego而不是github.com/astaxie/beego,手动修改import会报错。应该怎样修改,望给个思路
The text was updated successfully, but these errors were encountered:
这个问题是因为你用的bee是v2的beego,而admin是astaxie/beego,v2/beego和astaxie/beego的init()方法里都有定义graceful运行参数,启动时参数冲突panic。 最佳解决方案是admin项目升级,只用v2/beego。 临时解决方案是把v2的bee new 生成的routers、controllers、main里import的v2包替换成github.com/astaxie/beego。 或者使用astaxia/beego编译的bee工具生成项目。
github.com/astaxie/beego
Sorry, something went wrong.
我的方法是将那两行注释掉。
该升级了
No branches or pull requests
完全按照readme操作,build时报错:
唯一的区别是使用bee(v2.0.2)新建项目引用的是github.com/beego/beego而不是github.com/astaxie/beego,手动修改import会报错。应该怎样修改,望给个思路
The text was updated successfully, but these errors were encountered: