Browse Source

Update model.go.tpl

自动化代码bug修复
main
蒋吉兆 4 years ago
committed by GitHub
parent
commit
70295bbe0b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      server/resource/template/te/model.go.tpl

1
server/resource/template/te/model.go.tpl

@ -14,4 +14,3 @@ type {{.StructName}} struct {
{{.FieldName}} {{.FieldType}} `json:"{{.FieldJson}}" form:"{{.FieldJson}}" gorm:"column:{{.ColumnName}};comment:'{{.Comment}}'"`
{{- end }} {{- end }}
}
}
Loading…
Cancel
Save