tpl format
This commit is contained in:
parent
b5766839fa
commit
1e720ff9a3
@ -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 += "}"
|
||||
|
Loading…
Reference in New Issue
Block a user