Started implementing getIndex, now with TDD (brought to you by DI)!
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package responses
|
||||
|
||||
import "encoding/xml"
|
||||
|
||||
type Index struct {
|
||||
XMLName xml.Name `xml:"index"`
|
||||
Name string `xml:"name,attr"`
|
||||
}
|
||||
|
||||
type ArtistIndex struct {
|
||||
XMLName xml.Name `xml:"indexes"`
|
||||
Index []Index `xml:"indexes"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user