From 5174123169caa08dea784a72574476b89a837a51 Mon Sep 17 00:00:00 2001 From: Su Yang Date: Fri, 5 Jan 2024 23:18:23 +0800 Subject: [PATCH] chore: mv internal/health => internal/misc/health --- internal/{ => misc}/health/health.go | 2 +- internal/server/server.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename internal/{ => misc}/health/health.go (93%) diff --git a/internal/health/health.go b/internal/misc/health/health.go similarity index 93% rename from internal/health/health.go rename to internal/misc/health/health.go index ab9b120..4395cac 100644 --- a/internal/health/health.go +++ b/internal/misc/health/health.go @@ -1,4 +1,4 @@ -package health +package FlareHealth import ( "net/http" diff --git a/internal/server/server.go b/internal/server/server.go index 95d4865..b5a5887 100644 --- a/internal/server/server.go +++ b/internal/server/server.go @@ -22,8 +22,8 @@ import ( FlareMDI "github.com/soulteary/flare/internal/resources/mdi" FlareTemplates "github.com/soulteary/flare/internal/resources/templates" - FlareHealth "github.com/soulteary/flare/internal/health" FlareDeprecated "github.com/soulteary/flare/internal/misc/deprecated" + FlareHealth "github.com/soulteary/flare/internal/misc/health" FlareEditor "github.com/soulteary/flare/internal/pages/editor" FlareGuide "github.com/soulteary/flare/internal/pages/guide" FlareHome "github.com/soulteary/flare/internal/pages/home"