diff --git a/cmd/go2junit/output.go b/cmd/go2junit/output.go index 7b140c8..2a7f678 100644 --- a/cmd/go2junit/output.go +++ b/cmd/go2junit/output.go @@ -22,6 +22,8 @@ type Testsuites struct { } type Testsuite struct { + XMLName xml.Name `xml:"testsuite"` + // required attributes Name string `xml:"name,attr"` Tests int `xml:"tests,attr"`