From f146355b962c749303d21cb79161ebc2c590ac28 Mon Sep 17 00:00:00 2001 From: NorthLan <6995syu@163.com> Date: Tue, 29 Nov 2022 17:14:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20Server=20got=20sign?= =?UTF-8?q?al=20=E8=BE=93=E5=87=BA=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/engine.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/engine.go b/core/engine.go index 40c1b4c..dda6275 100644 --- a/core/engine.go +++ b/core/engine.go @@ -133,7 +133,7 @@ func (ng *engine) serve(router Router) error { case <-ng.dieChan: log.Info("Server will shutdown in a few seconds") case s := <-sg: - log.Infof("Server got signal: %ng", s) + log.Infof("Server got signal: %s", s) } log.Info("Server is stopping...")