From 0ffce32f624b3b738af9b1b548b96524c6c5ecc7 Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Thu, 16 Mar 2023 19:06:57 +0800 Subject: [PATCH] black --- cmd/api/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/api/main.go b/cmd/api/main.go index a949d9507..9b328c836 100644 --- a/cmd/api/main.go +++ b/cmd/api/main.go @@ -3,14 +3,15 @@ package main import ( "context" "fmt" + "net" + "strconv" + "github.com/OpenIMSDK/Open-IM-Server/internal/api" "github.com/OpenIMSDK/Open-IM-Server/pkg/common/cmd" "github.com/OpenIMSDK/Open-IM-Server/pkg/common/config" "github.com/OpenIMSDK/Open-IM-Server/pkg/common/db/cache" "github.com/OpenIMSDK/Open-IM-Server/pkg/common/log" "github.com/OpenIMSDK/openKeeper" - "net" - "strconv" "github.com/OpenIMSDK/Open-IM-Server/pkg/common/constant" ) @@ -22,7 +23,6 @@ func main() { if err := apiCmd.Execute(); err != nil { panic(err.Error()) } - if err := apiCmd.Execute() } func run(port int) error {