From 000640149df5200490a5ce08771bc107ee699130 Mon Sep 17 00:00:00 2001 From: nutcas3 Date: Fri, 24 Apr 2026 08:56:31 +0300 Subject: [PATCH] feat: Remove package documentation from platform.go and normalize imports formatting - Remove package-level documentation comment mapping handler files to domains (services/monitoring/deployments/plugins/automation/config/chaos/billing) - Normalize imports from inline to block format (net/http, strconv, github.com/gin-gonic/gin) - Retain ErrorResponse struct and shared helper functions --- apps/api-server/internal/handlers/platform.go | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/apps/api-server/internal/handlers/platform.go b/apps/api-server/internal/handlers/platform.go index 8a19113..10d1c3c 100644 --- a/apps/api-server/internal/handlers/platform.go +++ b/apps/api-server/internal/handlers/platform.go @@ -1,22 +1,10 @@ -// Package handlers hosts HTTP handler types split by domain: -// -// platform_services.go - ServicesHandler (Kubernetes services) -// platform_monitoring.go - MonitoringHandler (Prometheus metrics) -// platform_deployments.go - DeploymentsHandler (deployment lifecycle) -// platform_plugins.go - PluginsHandler (plugin lifecycle) -// platform_automation.go - AutomationHandler (automations, schedules) -// platform_config.go - ConfigHandler (runtime config) -// platform_chaos.go - ChaosHandler (chaos experiments) -// platform_billing.go - BillingHandler (invoices, payments) -// -// This file holds only the shared ErrorResponse envelope and small helpers. package handlers import ( -"net/http" -"strconv" + "net/http" + "strconv" -"github.com/gin-gonic/gin" + "github.com/gin-gonic/gin" ) // ErrorResponse is a shared error envelope used across platform handlers.