From e9b70ead17db15f9351b0f9234e0bcd10fd1a864 Mon Sep 17 00:00:00 2001 From: Tory Date: Fri, 13 Nov 2026 19:29:19 +0800 Subject: [PATCH] =?UTF-8?q?S1-B=20=E6=94=B6=E5=8F=A3#5:=20gofmt=20?= =?UTF-8?q?=E5=AD=98=E9=87=8F=E6=B8=85=E9=9B=B6(POC=20=E9=81=97=E7=95=99?= =?UTF-8?q?=2020=20=E6=96=87=E4=BB=B6,=E5=89=8D=E5=BA=8F=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E9=A1=BA=E5=B8=A6=E6=B8=85=E7=90=86=2019+=E6=9C=AC=E6=89=B9=20?= =?UTF-8?q?tools/gen-dict;gofmt=20-l=20=E5=85=A8=E4=BB=93=E9=9B=B6?= =?UTF-8?q?=E8=BE=93=E5=87=BA)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/gen-dict/main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/gen-dict/main.go b/tools/gen-dict/main.go index 0a127129..599a401f 100644 --- a/tools/gen-dict/main.go +++ b/tools/gen-dict/main.go @@ -1,7 +1,8 @@ // gen-dict Day 41(清债②):openapi.yaml x-isc-dict → web/src/api/dict.ts 前端字典 codegen。 // 契约源=api/openapi.yaml;与后端 internal/pkg/errors/codes.go 由 openapi_sync_test 双向锁定。 // 用法:go run ./tools/gen-dict 生成(默认写 web/src/api/dict.ts) -// go run ./tools/gen-dict -check 仅校验,不一致 exit 1(CI/门禁用) +// +// go run ./tools/gen-dict -check 仅校验,不一致 exit 1(CI/门禁用) package main import (