From 8da7c837bda7ae79bc2fc8c7b43b9f937375d7cc Mon Sep 17 00:00:00 2001 From: Gordon <46924906+FGadvancer@users.noreply.github.com> Date: Tue, 19 Mar 2024 18:39:25 +0800 Subject: [PATCH] refactor: unified naming for module startup functions. --- internal/api/msg.go | 1 + internal/api/route.go | 2 ++ 2 files changed, 3 insertions(+) diff --git a/internal/api/msg.go b/internal/api/msg.go index afb32d815..c716c63ad 100644 --- a/internal/api/msg.go +++ b/internal/api/msg.go @@ -19,6 +19,7 @@ import ( "github.com/OpenIMSDK/protocol/msg" "github.com/OpenIMSDK/protocol/sdkws" "github.com/gin-gonic/gin" + "github.com/go-playground/validator/v10" "github.com/mitchellh/mapstructure" "github.com/openimsdk/open-im-server/v3/pkg/apistruct" "github.com/openimsdk/open-im-server/v3/pkg/authverify" diff --git a/internal/api/route.go b/internal/api/route.go index 36521b528..1e577c61a 100644 --- a/internal/api/route.go +++ b/internal/api/route.go @@ -18,6 +18,8 @@ import ( "context" "errors" "fmt" + "github.com/go-playground/validator/v10" + "github.com/redis/go-redis/v9" "net" "net/http" "os"