This tool instantly converts XML into a Go. Paste a XML structure on the left and the equivalent Go type will be generated to the right, which you can paste into your program. The script has to make some assumptions, so double-check the output!
For an example, try converting XML from the Sample.
View on GitHub • Inspired by JSON-to-Go
XML | → | Go |
---|