mirror of
https://github.com/kongyuebin1/dongfeng-pay.git
synced 2025-09-17 05:43:49 +08:00
由gopath形式改为module
This commit is contained in:
22
boss/service/service_init/init_all.go
Normal file
22
boss/service/service_init/init_all.go
Normal file
@@ -0,0 +1,22 @@
|
||||
/***************************************************
|
||||
** @Desc : This file for ...
|
||||
** @Time : 2019/11/19 17:48
|
||||
** @Author : yuebin
|
||||
** @File : init_all
|
||||
** @Last Modified by : yuebin
|
||||
** @Last Modified time: 2019/11/19 17:48
|
||||
** @Software: GoLand
|
||||
****************************************************/
|
||||
package service_init
|
||||
|
||||
import (
|
||||
"dongfeng/service/controller"
|
||||
_ "dongfeng/service/message_queue"
|
||||
"dongfeng/service/models"
|
||||
)
|
||||
|
||||
func InitAll() {
|
||||
//初始化mysql
|
||||
models.Init()
|
||||
controller.Init()
|
||||
}
|
Reference in New Issue
Block a user