Optimized import, only updating changed data and purging old data

This commit is contained in:
Deluan 2016-03-08 14:18:17 -05:00
parent df9687bf02
commit 46e7627fd3
13 changed files with 253 additions and 55 deletions

View file

@ -6,7 +6,7 @@ import (
)
func main() {
beego.BConfig.Log.FileLineNum = false
//beego.BConfig.Log.FileLineNum = false
if beego.BConfig.RunMode == "dev" {
beego.BConfig.WebConfig.DirectoryIndex = true
beego.BConfig.WebConfig.StaticDir["/swagger"] = "swagger"