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 66ebe2b commit 8d40c49Copy full SHA for 8d40c49
generator/types_tmpl.go
@@ -77,6 +77,7 @@ var typesTmpl = `
77
{{end}}
78
79
{{define "ComplexTypeInline"}}
80
+ {{replaceReservedWords .Name | makePublic}} struct {
81
{{with .ComplexType}}
82
{{if ne .ComplexContent.Extension.Base ""}}
83
{{template "ComplexContent" .ComplexContent}}
@@ -89,6 +90,7 @@ var typesTmpl = `
89
90
{{template "Attributes" .Attributes}}
91
92
93
+ } ` + "`" + `xml:"{{.Name}},omitempty"` + "`" + `
94
95
96
{{define "Elements"}}
0 commit comments