- auto gen.

This commit is contained in:
gazebo
2018-05-30 16:27:40 +08:00
commit e59373b033
9 changed files with 439 additions and 0 deletions

15
main.go Normal file
View File

@@ -0,0 +1,15 @@
package main
import (
_ "jx-callback/routers"
"github.com/astaxie/beego"
)
func main() {
if beego.BConfig.RunMode == "dev" {
beego.BConfig.WebConfig.DirectoryIndex = true
beego.BConfig.WebConfig.StaticDir["/swagger"] = "swagger"
}
beego.Run()
}