package main import ( _ "agent/models" _ "agent/routers" beego "github.com/beego/beego/v2/server/web" ) func main() { beego.BConfig.WebConfig.Session.SessionOn = true beego.Run() }