Can’t find the template files or configuration files or nil pointer error?
It may be because you used
go run main.goto run your application.
go runwill compile the file and put it into a tmp folder to run it. But Beego needs the static files, templates and config files. So you need to use
go buildand run the application by
./app. Or you can use
bee run appto run your application.
Can Beego be used for production?
Yes. Beego has been used in production. E.g.: SNDA’s CDN system, 360 search API, Bmob mobile cloud API, weico backend API etc. They are all high concurrence and high performance applications.
Will the future upgrades affect the API I am using right now?
Beego is keeping the stable API since version 0.1. Many applications upgraded to the latest Beego easily. We will try to keep the API stable in the future.
Will Beego keep developing?
Many people are worried about open source projects that stop developing. We have four people who are contributing to the code. We can keep making Beego better and better.