Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
encoding/xml: cannot get array, only get the first element #22657
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
You may decode multiple top-level elements by calling decode multiple times, as seen in https://stackoverflow.com/questions/27553274/unmarshal-xml-array-in-golang-only-getting-the-first-element.
Otherwise, instead of using