This tool generates Go struct definition from sample XML, based on zek library. Learn more about XML handling in Go from free Essential Go book.
Paste XML or get from URL:  
 
paste XML here
get Go definition here