...
|
...
|
@@ -4,11 +4,10 @@ import ( |
|
|
"github.com/astaxie/beego"
|
|
|
"gitlab.fjmaimaimai.com/mmm-go/partner/pkg/application/event"
|
|
|
"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/infrastructure/redis"
|
|
|
"gitlab.fjmaimaimai.com/mmm-go/partner/pkg/log"
|
|
|
//"gitlab.fjmaimaimai.com/mmm-go/partner/pkg/port/ginsvr"
|
|
|
|
|
|
_ "gitlab.fjmaimaimai.com/mmm-go/partner/pkg/port/appsvr"
|
|
|
)
|
|
|
|
...
|
...
|
@@ -18,13 +17,9 @@ func main() { |
|
|
}()
|
|
|
log.Info("app start!")
|
|
|
log.Info(constant.POSTGRESQL_DB_NAME)
|
|
|
//ginsvr.Run()
|
|
|
|
|
|
//注册事件
|
|
|
event.InitEventCenter()
|
|
|
|
|
|
//启动kafaka消息订阅
|
|
|
//go sarama.Run()
|
|
|
|
|
|
beego.Run()
|
|
|
} |
...
|
...
|
|