Skip to content

Commit 18d14ea

Browse files
committed
Rollback generating type alias for non struct types.
1 parent be899c2 commit 18d14ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gen/_template/schema/alias.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ type {{ $.Name }} struct {
55
{{ $.AliasTo.Go }}
66
}
77
{{ else }}
8-
type {{ $.Name }} = {{ $.AliasTo.Go }}
8+
type {{ $.Name }} {{ $.AliasTo.Go }}
99
{{- end }}
1010
{{ end }}

0 commit comments

Comments
 (0)