File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 7
7
{{ end }}
8
8
{{ end -}}
9
9
10
- {{- define "single_attribute" -}}- `#!css {{ .BlockName }}` ( {{ if .Optional }}optional {{ end }}{{ .Type }}) {{ if .Description}} {{ .Description -}}{{ end }}{{- end -}}
10
+ {{- define "single_attribute" -}}- `#!css {{ .BlockName }}` ; ` {{ if .Optional }}optional {{ end }}{{ .Type }}` {{ if .Description}}. {{ .Description -}}{{ end }}{{- end -}}
11
11
12
12
{{- define "description" }}{{ if .Description }}
13
13
{{ .Description }}
Original file line number Diff line number Diff line change @@ -223,6 +223,9 @@ func mutateHook(b *modelgen.ModelBuild) *modelgen.ModelBuild {
223
223
case strings .Contains (fieldType , "time.Time" ):
224
224
fieldType = "time"
225
225
226
+ case strings .Contains (fieldType , "bool" ):
227
+ fieldType = "boolean"
228
+
226
229
case strings .Contains (fieldType , "time.Duration" ):
227
230
fieldType = "duration"
228
231
}
You can’t perform that action at this time.
0 commit comments