正在显示
1 个修改的文件
包含
5 行增加
和
0 行删除
1 | package main | 1 | package main |
2 | 2 | ||
3 | import ( | 3 | import ( |
4 | + "fmt" | ||
4 | "github.com/beego/beego/v2/server/web" | 5 | "github.com/beego/beego/v2/server/web" |
6 | + "gitlab.fjmaimaimai.com/allied-creation/allied-creation-user/pkg/constant" | ||
5 | _ "gitlab.fjmaimaimai.com/allied-creation/allied-creation-user/pkg/infrastructure/pg" | 7 | _ "gitlab.fjmaimaimai.com/allied-creation/allied-creation-user/pkg/infrastructure/pg" |
6 | _ "gitlab.fjmaimaimai.com/allied-creation/allied-creation-user/pkg/infrastructure/redis" | 8 | _ "gitlab.fjmaimaimai.com/allied-creation/allied-creation-user/pkg/infrastructure/redis" |
9 | + "gitlab.fjmaimaimai.com/allied-creation/allied-creation-user/pkg/log" | ||
7 | _ "gitlab.fjmaimaimai.com/allied-creation/allied-creation-user/pkg/port/beego" | 10 | _ "gitlab.fjmaimaimai.com/allied-creation/allied-creation-user/pkg/port/beego" |
8 | ) | 11 | ) |
9 | 12 | ||
10 | func main() { | 13 | func main() { |
14 | + log.Logger.Info("server start!") | ||
15 | + log.Logger.Info(fmt.Sprintf("ENABLE_KAFKA_LOG:%v", constant.ENABLE_KAFKA_LOG)) | ||
11 | web.Run() | 16 | web.Run() |
12 | } | 17 | } |
-
请 注册 或 登录 后发表评论