OAI-PMH in golang

I was looking at the maturity of golang for data science and for projects in goLang which enable the interaction with OAI-PMH feeds. In my case working with XML is fairly important. I don't see in this XML example how to extract attributes and put those in the struct.

https://pkg.go.dev/github.com/delving/hub3/ikuzo/service/x/oaipmh
https://github.com/renevanderark/goharvest