Skip to content

Commit

Permalink
Fixes typo
Browse files Browse the repository at this point in the history
  • Loading branch information
c4milo committed Sep 3, 2014
1 parent e460d13 commit cc54011
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generator/types_tmpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ var typesTmpl = `
{{define "ComplexTypeGlobal"}}
{{$name := replaceReservedWords .Name}}
type {{$name}} struct {
XMLName xml.Name ` + "`xml:\"{{getTargetNamespace}} {{$name}}\"`" + `
XMLName xml.Name ` + "`xml:\"{{targetNamespace}} {{$name}}\"`" + `
{{if ne .ComplexContent.Extension.Base ""}}
{{template "ComplexContent" .ComplexContent}}
{{else if ne .SimpleContent.Extension.Base ""}}
Expand All @@ -52,7 +52,7 @@ var typesTmpl = `
{{$name := replaceReservedWords .Name}}
{{with .ComplexType}}
type {{$name}} struct {
XMLName xml.Name ` + "`xml:\"{{getTargetNamespace}} {{$name}}\"`" + `
XMLName xml.Name ` + "`xml:\"{{targetNamespace}} {{$name}}\"`" + `
{{if ne .ComplexContent.Extension.Base ""}}
{{template "ComplexContent" .ComplexContent}}
{{else if ne .SimpleContent.Extension.Base ""}}
Expand Down

0 comments on commit cc54011

Please sign in to comment.