main.go 474 字节
package main

import (
	"github.com/astaxie/beego"
	"gitlab.fjmaimaimai.com/mmm-go/partner/pkg/constant"
	_ "gitlab.fjmaimaimai.com/mmm-go/partner/pkg/constant"
	_ "gitlab.fjmaimaimai.com/mmm-go/partner/pkg/infrastructure/pg"
	"gitlab.fjmaimaimai.com/mmm-go/partner/pkg/log"
	_ "gitlab.fjmaimaimai.com/mmm-go/partner/pkg/port/appsvr"
)

func main() {
	defer func() {
		log.Info("app stop!")
	}()
	log.Info("app start!")
	log.Info(constant.POSTGRESQL_DB_NAME)
	beego.Run()
}