We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1c8f6b commit ff7e002Copy full SHA for ff7e002
server/utils/autocode/template_funcs.go
@@ -70,7 +70,7 @@ func GenerateField(field systemReq.AutoCodeField) string {
70
result = fmt.Sprintf(`%s datatypes.JSON `+"`"+`%s swaggertype:"array,object"`+"`"+``,
71
field.FieldName, tagContent)
72
case "richtext":
73
- tagContent := fmt.Sprintf(`json:"%s" form:"%s" gorm:"%s"`,
+ tagContent := fmt.Sprintf(`json:"%s" form:"%s" gorm:"%s`,
74
field.FieldJson, field.FieldJson, gormTag)
75
76
result = fmt.Sprintf(`%s *string `+"`"+`%stype:text;"`+"`"+``,
0 commit comments