From 023ce02255232ec44b6d049f111410f3c05f00f8 Mon Sep 17 00:00:00 2001 From: walon Date: Fri, 26 Apr 2024 17:46:42 +0800 Subject: [PATCH] =?UTF-8?q?[change]=20=E5=88=A0=E9=99=A4go=E8=AF=AD?= =?UTF-8?q?=E8=A8=80=E7=9A=84=E4=BF=9D=E7=95=99=E5=AD=97=E3=80=82=E5=9B=A0?= =?UTF-8?q?=E4=B8=BA=E7=94=9F=E6=88=90=E4=BB=A3=E7=A0=81=E6=97=B6=E4=BC=9A?= =?UTF-8?q?=E5=B0=86=E9=A6=96=E5=AD=97=E6=AF=8D=E5=A4=A7=E5=86=99=EF=BC=8C?= =?UTF-8?q?=E5=8D=B3=E4=BD=BF=E4=B8=8E=E4=BF=9D=E7=95=99=E5=AD=97=E4=B8=80?= =?UTF-8?q?=E6=A0=B7=E4=B9=9F=E4=B8=8D=E4=BC=9A=E6=9C=89=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Luban.Golang/CodeTarget/GoCodeTargetBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Luban.Golang/CodeTarget/GoCodeTargetBase.cs b/src/Luban.Golang/CodeTarget/GoCodeTargetBase.cs index 67a4baae..e311f2a3 100644 --- a/src/Luban.Golang/CodeTarget/GoCodeTargetBase.cs +++ b/src/Luban.Golang/CodeTarget/GoCodeTargetBase.cs @@ -18,7 +18,7 @@ public abstract class GoCodeTargetBase : TemplateCodeTargetBase private static readonly HashSet s_preservedKeyWords = new() { // go preserved key words - "break", "default", "func", "interface", "select", "case", "defer", "go", "map", "struct", "chan", "else", "goto", "package", "switch", "const", "fallthrough", "if", "range", "type", "continue", "for", "import", "return", "var" + //"break", "default", "func", "interface", "select", "case", "defer", "go", "map", "struct", "chan", "else", "goto", "package", "switch", "const", "fallthrough", "if", "range", "continue", "for", "import", "return", "var" }; protected override IReadOnlySet PreservedKeyWords => s_preservedKeyWords;