From 27ee14cc977f9990cdbadf7966370b28577d62ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zhero=20=26=20=E5=8A=A9=E7=90=86?= Date: Tue, 1 Dec 2026 15:29:03 +0800 Subject: [PATCH] =?UTF-8?q?style(reconciliation):=20=E8=A1=A5=E9=BD=90=20c?= =?UTF-8?q?onsole=5Furl=20=E4=B8=A4=E4=B8=AA=E6=96=87=E4=BB=B6=E5=B0=BE?= =?UTF-8?q?=E6=8D=A2=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 095aa3e 新增的两个文件缺文件尾换行,gofmt -l 命中,CI 的 make verify format 项失败(run 520),提测门禁红。仅补换行,无逻辑改动。 --- internal/platform/weknora/console_url.go | 2 +- internal/platform/weknora/console_url_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/platform/weknora/console_url.go b/internal/platform/weknora/console_url.go index 3cdce71..f4781c3 100644 --- a/internal/platform/weknora/console_url.go +++ b/internal/platform/weknora/console_url.go @@ -17,4 +17,4 @@ func KnowledgeBaseConsoleURL(origin, knowledgeBaseID string) string { return "" } return strings.TrimSuffix(origin, "/") + "/platform/knowledge-bases/" + url.PathEscape(knowledgeBaseID) -} \ No newline at end of file +} diff --git a/internal/platform/weknora/console_url_test.go b/internal/platform/weknora/console_url_test.go index 593c888..47f599f 100644 --- a/internal/platform/weknora/console_url_test.go +++ b/internal/platform/weknora/console_url_test.go @@ -16,4 +16,4 @@ func TestKnowledgeBaseConsoleURLCannotInventAHost(t *testing.T) { t.Fatalf("KnowledgeBaseConsoleURL(%q,%q) = %q, want %q", c.origin, c.kb, got, c.want) } } -} \ No newline at end of file +}