From 550364b8ac5f177083892689c1e55591ebce6aa2 Mon Sep 17 00:00:00 2001 From: HeyJavaBean Date: Mon, 4 Nov 2024 11:47:41 +0800 Subject: [PATCH] fix: fix again --- generator/golang/templates/ref/ref_tpl.go | 1 + 1 file changed, 1 insertion(+) diff --git a/generator/golang/templates/ref/ref_tpl.go b/generator/golang/templates/ref/ref_tpl.go index 0e0a474..084b503 100644 --- a/generator/golang/templates/ref/ref_tpl.go +++ b/generator/golang/templates/ref/ref_tpl.go @@ -170,6 +170,7 @@ var enumRef = ` const ( {{- range .Values}} {{- if and Features.ReserveComments .ReservedComments}} + {{.ReservedComments}}{{end}} {{.GoName}} = {{$RefPackage}}.{{.GoName}} {{- end}} )