main.go
325 字节
package main
import (
"github.com/astaxie/beego"
"gitlab.fjmaimaimai.com/mmm-go/gocomm/pkg/log"
_ "openapi/pkg/infrastructure/bgorm"
_ "openapi/pkg/log"
_ "openapi/pkg/port/beego"
)
func main() {
defer func() {
log.Info("server on stop!")
}()
log.Info("server on start!")
//constant.DebugConfig()
beego.Run()
}