修复:AutoCode生成的表格不显示bool值

修复:多了个}
This commit is contained in:
hansonyu183
2020-06-22 22:39:38 +08:00
parent 937239b7ba
commit 3791e573d3
2 changed files with 15 additions and 11 deletions
+1 -2
View File
@@ -13,5 +13,4 @@ type {{.StructName}} struct {
{{- else }}
{{.FieldName}} {{.FieldType}} `json:"{{.FieldJson}}" form:"{{.FieldJson}}" gorm:"column:{{.ColumnName}};comment:'{{.Comment}}'"`
{{- end }} {{- end }}
}
}
}