22 lines
234 B
Go
22 lines
234 B
Go
package main
|
|
|
|
import (
|
|
"github.com/PPGo_Job/models"
|
|
_ "github.com/PPGo_Job/routers"
|
|
"github.com/astaxie/beego"
|
|
)
|
|
|
|
const (
|
|
VERSION = "1.0.0"
|
|
)
|
|
|
|
func init() {
|
|
//初始化数据模型
|
|
models.Init()
|
|
|
|
}
|
|
|
|
func main() {
|
|
beego.Run()
|
|
}
|