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.添加一个/或多个元素