From 7aa3ced5f8d3b4fc26c035b729a8b7337a7d0d19 Mon Sep 17 00:00:00 2001 From: xxj <346944475@qq.com> Date: Tue, 18 Jan 2022 20:48:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A=E6=8D=A2=E8=A1=8C=E7=AC=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/view/genstruct/common.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/view/genstruct/common.go b/data/view/genstruct/common.go index 0c9a77b..ec75e66 100644 --- a/data/view/genstruct/common.go +++ b/data/view/genstruct/common.go @@ -125,7 +125,7 @@ func (s *GenStruct) SetNotes(notes string) { text = append(text, "// "+v) // } } - s.Notes = strings.Join(text, "\r\n") + s.Notes = strings.Join(text, ";") } // AddElement Add one or more elements.添加一个/或多个元素