github.com/easysoft/zendata@v0.0.0-20240513203326-705bd5a7fd67/internal/pkg/model/output.go (about)

     1  package model
     2  
     3  import "encoding/xml"
     4  
     5  type XmlData struct {
     6  	XMLName xml.Name `xml:"testdata"`
     7  	Title   string   `xml:"title"`
     8  	Table   XmlTable `xml:"table"`
     9  }
    10  
    11  type XmlTable struct {
    12  	Rows []XmlRow `xml:"row"`
    13  }
    14  
    15  type XmlRow struct {
    16  	XMLName xml.Name          `xml:"row"`
    17  	Cols    map[string]string `xml:"col"`
    18  }