From 0c35928eee9dd653bc542c5b91e77e49a606abc7 Mon Sep 17 00:00:00 2001 From: liburdi Date: Tue, 22 Oct 2024 12:26:08 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=90=AF=E5=8A=A8=E6=97=B6=E7=BB=88?= =?UTF-8?q?=E7=AB=AF=E6=89=93=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index 3cd0bd06..fa1d38d2 100644 --- a/main.go +++ b/main.go @@ -46,10 +46,9 @@ func main() { return nil }) + defer log.Println("Exit!") - go func() { - log.Println("Visit the website:", "http://127.0.0.1:8090") - }() + log.Println("Visit the website:", "http://127.0.0.1:8090") if err := app.Start(); err != nil { log.Fatal(err)