eXSD is a Go wrapper for the C libxml2 library and it is extended from github.com/krolaw/xsd, which is easier and more powerfull to use
See example for how to use this library to validate a document.
source: http://godoc.org/github.com/krolaw/xsd
Special thanks to krolaw/xsd and Michal Pristas and Travis Cline for independently providing solutions for returning validation errors.
An employee of HP Inc requested I attach a licence so it could be used in their "FitStation" platform - Awesome.