From 6c73845a87c1d4c8dc9234abb4dd16e6b75b6582 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sun, 1 Oct 2023 22:48:31 +0800 Subject: [PATCH] 1 --- app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.go b/app.go index 3c10b90..2155839 100644 --- a/app.go +++ b/app.go @@ -119,7 +119,7 @@ func (this *app) init(userApp UserApp) { this.ginEngine = gin.New() this.ginEngine.Use(gin.Recovery()) this.userApp.Init() - go this.ginEngine.Run(fmt.Sprintf(":%s", this.userApp.GetHttpListenPort())) + go this.ginEngine.Run(fmt.Sprintf(":%d", this.userApp.GetHttpListenPort())) } func (this *app) unInit() {