Demo Project for Using go2xunit
Install go2xunit with go get bitbucket.org/tebeka/go2xunit
Use run-jenkins.sh to run Jenkins (see Jenkins download instructions in the script).
Then configure Jenkins like the configuration screen below, note the "Execute Shell" and "Publish JUnit test result report" sections.
You after running, you should see test results like the below.