Commit 29b1c8e1 authored by astaxie's avatar astaxie

Merge pull request #111 from marswj/master

统一文档和代码中RunMode
parents 1d7d6c6f ae906eed
......@@ -97,11 +97,11 @@ It generates folders and files for your project, directory structure as follows:
Beego uses development mode as default, you can use following code to change mode in your application:
beego.RunMode = "pro"
beego.RunMode = "prod"
Or use configuration file in `conf/app.conf`, and input following content:
runmode = pro
runmode = prod
No differences between two ways.
......
......@@ -101,11 +101,11 @@
我们可以通过如下的方式改变我们的模式:
beego.RunMode = "pro"
beego.RunMode = "prod"
或者我们在conf/app.conf下面设置如下:
runmode = pro
runmode = prod
以上两种效果一样。
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment