xsd is a Go package that generates tagged struct from XML Schema (xsd). When only the XML file is available, an xsd file can be automatically generated by a XML Schema learner, such as “github.com/kore/XML-Schema-learner”.
xsd: XML tagged struct generator for Go
1 January 2014