mirror of
https://github.com/astaxie/beego.git
synced 2025-07-15 05:31:02 +00:00
add template test and cache module
This commit is contained in:
3
beego.go
3
beego.go
@ -13,6 +13,8 @@ import (
|
||||
"strconv"
|
||||
)
|
||||
|
||||
const VERSION = "0.0.3"
|
||||
|
||||
var (
|
||||
BeeApp *App
|
||||
AppName string
|
||||
@ -218,5 +220,6 @@ func Run() {
|
||||
GlobalSessions, _ = session.NewManager(SessionProvider, SessionName, SessionGCMaxLifetime)
|
||||
go GlobalSessions.GC()
|
||||
}
|
||||
BuildTemplate(ViewsPath)
|
||||
BeeApp.Run()
|
||||
}
|
||||
|
Reference in New Issue
Block a user