由gopath形式改为module

This commit is contained in:
kongyuebin
2021-04-27 15:33:49 +08:00
parent aef4dbb33c
commit 77d895e83a
1117 changed files with 332447 additions and 20 deletions

View 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()
}