From d8b9f535ff7699bb2e8d659d8e2fa628aea50105 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Mon, 6 Jul 2026 16:16:31 +0200 Subject: [PATCH] style(model): drop trailing comment on Client.Secret to satisfy gofumpt The long example tag on Secret pulled the struct's trailing-comment block into a new alignment section, so gofumpt demanded every following comment be re-aligned to that tag's column. Removing the comment restores the previously accepted layout and follows the repo rule against line comments. --- internal/database/model/model.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/database/model/model.go b/internal/database/model/model.go index d7812270f..3e9bcaeaa 100644 --- a/internal/database/model/model.go +++ b/internal/database/model/model.go @@ -671,7 +671,7 @@ type Client struct { AllowedIPs []string `json:"allowedIPs,omitempty"` PreSharedKey string `json:"preSharedKey,omitempty"` KeepAlive int `json:"keepAlive,omitempty"` - Secret string `json:"secret,omitempty" example:"ee1234567890abcdef1234567890abcd7777772e636c6f7564666c6172652e636f6d"` // MTProto FakeTLS secret + Secret string `json:"secret,omitempty" example:"ee1234567890abcdef1234567890abcd7777772e636c6f7564666c6172652e636f6d"` Email string `json:"email"` // Client email identifier LimitIP int `json:"limitIp"` // IP limit for this client TotalGB int64 `json:"totalGB" form:"totalGB"` // Total traffic limit in GB