正在显示
3 个修改的文件
包含
2 行增加
和
7 行删除
@@ -6,7 +6,7 @@ COPY ./pkg pkg | @@ -6,7 +6,7 @@ COPY ./pkg pkg | ||
6 | COPY ./conf conf | 6 | COPY ./conf conf |
7 | COPY ./go.mod go.mod | 7 | COPY ./go.mod go.mod |
8 | COPY ./main.go main.go | 8 | COPY ./main.go main.go |
9 | -RUN ["ln","-sf","/usr/share/zoneinfo/Asia/Shanghai","/etc/localtime"] | 9 | +# RUN ["ln","-sf","/usr/share/zoneinfo/Asia/Shanghai","/etc/localtime"] |
10 | ENV GO111MODULE on | 10 | ENV GO111MODULE on |
11 | ENV GOPROXY https://goproxy.cn,direct | 11 | ENV GOPROXY https://goproxy.cn,direct |
12 | RUN ["go","mod","tidy"] | 12 | RUN ["go","mod","tidy"] |
@@ -4,11 +4,10 @@ import ( | @@ -4,11 +4,10 @@ import ( | ||
4 | "github.com/astaxie/beego" | 4 | "github.com/astaxie/beego" |
5 | "gitlab.fjmaimaimai.com/mmm-go/partner/pkg/application/event" | 5 | "gitlab.fjmaimaimai.com/mmm-go/partner/pkg/application/event" |
6 | "gitlab.fjmaimaimai.com/mmm-go/partner/pkg/constant" | 6 | "gitlab.fjmaimaimai.com/mmm-go/partner/pkg/constant" |
7 | - _ "gitlab.fjmaimaimai.com/mmm-go/partner/pkg/constant" | ||
8 | _ "gitlab.fjmaimaimai.com/mmm-go/partner/pkg/infrastructure/pg" | 7 | _ "gitlab.fjmaimaimai.com/mmm-go/partner/pkg/infrastructure/pg" |
9 | _ "gitlab.fjmaimaimai.com/mmm-go/partner/pkg/infrastructure/redis" | 8 | _ "gitlab.fjmaimaimai.com/mmm-go/partner/pkg/infrastructure/redis" |
10 | "gitlab.fjmaimaimai.com/mmm-go/partner/pkg/log" | 9 | "gitlab.fjmaimaimai.com/mmm-go/partner/pkg/log" |
11 | - //"gitlab.fjmaimaimai.com/mmm-go/partner/pkg/port/ginsvr" | 10 | + |
12 | _ "gitlab.fjmaimaimai.com/mmm-go/partner/pkg/port/appsvr" | 11 | _ "gitlab.fjmaimaimai.com/mmm-go/partner/pkg/port/appsvr" |
13 | ) | 12 | ) |
14 | 13 | ||
@@ -18,13 +17,9 @@ func main() { | @@ -18,13 +17,9 @@ func main() { | ||
18 | }() | 17 | }() |
19 | log.Info("app start!") | 18 | log.Info("app start!") |
20 | log.Info(constant.POSTGRESQL_DB_NAME) | 19 | log.Info(constant.POSTGRESQL_DB_NAME) |
21 | - //ginsvr.Run() | ||
22 | 20 | ||
23 | //注册事件 | 21 | //注册事件 |
24 | event.InitEventCenter() | 22 | event.InitEventCenter() |
25 | 23 | ||
26 | - //启动kafaka消息订阅 | ||
27 | - //go sarama.Run() | ||
28 | - | ||
29 | beego.Run() | 24 | beego.Run() |
30 | } | 25 | } |
tags
已删除
100644 → 0
此 diff 太大无法显示。
-
请 注册 或 登录 后发表评论