metaleap / go-xsd

[stable since 2013] a lib for loading XML Schema Definition (XSD) files ➜ plus, a tool `makepkg` to code-generate from any *.xsd your Go package with all needed `struct`s to readily `xml.Unmarshal()` documents into, based on the XSD's schema definitions. NOT REALLY MAINTAINED FOR YEARS NOW: try the forks if running into issues.
http://www.reddit.com/r/golang/comments/12g6sl/is_there_a_tool_that_generates_go_source_code_for/
MIT License
217 stars 66 forks source link

Recusrsive structs generated? #17

Closed teckwrek closed 7 years ago

teckwrek commented 9 years ago

Trying to use the library for http://www.accessdata.fda.gov/spl/schema/spl.xsd

I've been able to successfully get the generated go code, but on compiling, it complains about recursive structs and then stops.