From 43a508309bda66f9829b5072a983e0ef393a1b45 Mon Sep 17 00:00:00 2001 From: xiemengjun Date: Tue, 1 Jan 2013 23:16:29 +0800 Subject: [PATCH] modify the init code --- createapp.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/createapp.go b/createapp.go index 61b8d5e..404ef2c 100644 --- a/createapp.go +++ b/createapp.go @@ -120,8 +120,8 @@ import ( ) func main() { - beego.BeeApp.RegisterController("/", &controllers.MainController{}) - beego.BeeApp.Run() + beego.RegisterController("/", &controllers.MainController{}) + beego.Run() } `