From dd109c8aa0282478f7927cbeff29976c9906042c Mon Sep 17 00:00:00 2001 From: ericprd Date: Wed, 5 Mar 2025 21:27:37 +0800 Subject: [PATCH] chores: remove unused code --- internal/api/http/category/get_all.go | 1 - internal/api/http/content/module.go | 5 ----- 2 files changed, 6 deletions(-) delete mode 100644 internal/api/http/content/module.go diff --git a/internal/api/http/category/get_all.go b/internal/api/http/category/get_all.go index 64e9869..be13c90 100644 --- a/internal/api/http/category/get_all.go +++ b/internal/api/http/category/get_all.go @@ -15,7 +15,6 @@ func GetAll( router.Get("/category", func(w http.ResponseWriter, r *http.Request) { ctx := r.Context() subsPlan, err := categorySvc.GetAll() - // subsPlan, err := categorySvc.GetAll() if err != nil { response.ResponseWithErrorCode( ctx, diff --git a/internal/api/http/content/module.go b/internal/api/http/content/module.go deleted file mode 100644 index c1f603c..0000000 --- a/internal/api/http/content/module.go +++ /dev/null @@ -1,5 +0,0 @@ -package contenthttp - -import "go.uber.org/fx" - -var Module = fx.Module("content-api", fx.Invoke())