Move backend to subdir
[brackets.git] / backend / types / artist.go
diff --git a/backend/types/artist.go b/backend/types/artist.go
new file mode 100644 (file)
index 0000000..07be6a8
--- /dev/null
@@ -0,0 +1,9 @@
+package types
+
+import "github.com/zmb3/spotify"
+
+type Artist struct {
+       ID         spotify.ID `json:"id"`
+       Name       string     `json:"name"`
+       Popularity int        `json:"popularity"`
+}