Comprehensive optimization

This commit is contained in:
谢小军
2019-10-17 21:06:26 +08:00
parent 8e2bcabf09
commit 16b24a1355
13 changed files with 410 additions and 233 deletions

View File

@@ -76,6 +76,10 @@ func (s *GenStruct) SetStructName(name string) {
// SetNotes set the notes.设置注释
func (s *GenStruct) SetNotes(notes string) {
// if len(notes) > 0 {
// notes = s.Name + " " + notes
// }
a := strings.Split(notes, "\n")
var text []string