tpl format

This commit is contained in:
白茶清欢 2024-04-14 21:46:43 +08:00
parent b5766839fa
commit 1e720ff9a3

View File

@ -171,8 +171,8 @@ func generateTableColumnDefined(modelStructName string, columnList []*sqlparser.
structFieldCommentDefine = strings.ReplaceAll(structFieldCommentDefine, k, v)
}
structFieldResult += structFieldDefine + "\n"
structFieldDescInstanceResult += " " + structFieldDescDefine + ",\n"
structFieldCommentInstanceResult += " " + structFieldCommentDefine + ",\n"
structFieldDescInstanceResult += structFieldDescDefine + ",\n"
structFieldCommentInstanceResult += structFieldCommentDefine + ",\n"
}
structFieldResult += "}"
structFieldDescInstanceResult += "}"