Started implementing getIndex, now with TDD (brought to you by DI)!

This commit is contained in:
Deluan
2016-03-01 12:35:30 -05:00
parent b2cdf8cadb
commit 2bb4c74ba6
7 changed files with 129 additions and 21 deletions
+14
View File
@@ -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"`
}