projects
/
brackets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
backend/types/artist.go
@@ -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"`
+}