Skip to content

Commit

Permalink
Removed extra line break on element loop so go fmt will "work"
Browse files Browse the repository at this point in the history
  • Loading branch information
sanbornm committed Sep 10, 2015
1 parent 5a245e5 commit baa8026
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions generator/types_tmpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,7 @@ var typesTmpl = `
{{end}}
{{define "Elements"}}
{{range .}}
{{if not .Type}}
{{template "ComplexTypeInline" .}}
{{else}}
{{if .Doc}} {{.Doc | comment}} {{end}}
{{replaceReservedWords .Name | makePublic}} {{if eq .MaxOccurs "unbounded"}}[]{{end}}{{.Type | toGoType}} ` + "`" + `xml:"{{.Name}},omitempty"` + "`" + `
{{end}}
{{range .}} {{if not .Type}} {{template "ComplexTypeInline" .}} {{else}} {{if .Doc}} {{.Doc | comment}} {{end}} {{replaceReservedWords .Name | makePublic}} {{if eq .MaxOccurs "unbounded"}}[]{{end}}{{.Type | toGoType}} ` + "`" + `xml:"{{.Name}},omitempty"` + "`" + ` {{end}}
{{end}}
{{end}}
Expand Down

0 comments on commit baa8026

Please sign in to comment.