From 70dbdaa831787373f0a7351fe062071122e684d6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 6 Apr 2026 11:33:22 +0000 Subject: [PATCH] fix: apply gofmt formatting to inbound.go and speedlimit.go Agent-Logs-Url: https://github.com/xAlokyx/3x-ui/sessions/c914d2a1-a03a-42f6-9f72-9620e5d2e619 Co-authored-by: xAlokyx <234771438+xAlokyx@users.noreply.github.com> --- web/service/inbound.go | 2 +- web/service/speedlimit.go | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/web/service/inbound.go b/web/service/inbound.go index e3d240bd..f6f3e871 100644 --- a/web/service/inbound.go +++ b/web/service/inbound.go @@ -23,7 +23,7 @@ import ( // It handles CRUD operations for inbounds, client management, traffic monitoring, // and integration with the Xray API for real-time updates. type InboundService struct { - xrayApi xray.XrayAPI + xrayApi xray.XrayAPI speedLimitService SpeedLimitService } diff --git a/web/service/speedlimit.go b/web/service/speedlimit.go index 66374dc5..9fe4485a 100644 --- a/web/service/speedlimit.go +++ b/web/service/speedlimit.go @@ -225,4 +225,3 @@ func (s *SpeedLimitService) RestoreAllLimits(inbounds []*model.Inbound) { } } } -