mirror of
https://git.sr.ht/~phw/scotty
synced 2025-04-30 05:37:05 +02:00
Code style: All uppercase acronyms URL, ISRC, ID, HTTP
This commit is contained in:
parent
39b31fc664
commit
d51c97c648
26 changed files with 137 additions and 137 deletions
|
@ -31,7 +31,7 @@ type ListeningsResult struct {
|
|||
}
|
||||
|
||||
type Listening struct {
|
||||
Id int `json:"int"`
|
||||
ID int `json:"int"`
|
||||
User User `json:"user"`
|
||||
Track Track `json:"track"`
|
||||
CreationDate string `json:"creation_date"`
|
||||
|
@ -45,14 +45,14 @@ type FavoriteTracksResult struct {
|
|||
}
|
||||
|
||||
type FavoriteTrack struct {
|
||||
Id int `json:"int"`
|
||||
ID int `json:"int"`
|
||||
User User `json:"user"`
|
||||
Track Track `json:"track"`
|
||||
CreationDate string `json:"creation_date"`
|
||||
}
|
||||
|
||||
type Track struct {
|
||||
Id int `json:"int"`
|
||||
ID int `json:"int"`
|
||||
Artist Artist `json:"artist"`
|
||||
Album Album `json:"album"`
|
||||
Title string `json:"title"`
|
||||
|
@ -64,13 +64,13 @@ type Track struct {
|
|||
}
|
||||
|
||||
type Artist struct {
|
||||
Id int `json:"int"`
|
||||
ID int `json:"int"`
|
||||
Name string `json:"name"`
|
||||
ArtistMBID mbtypes.MBID `json:"mbid"`
|
||||
}
|
||||
|
||||
type Album struct {
|
||||
Id int `json:"int"`
|
||||
ID int `json:"int"`
|
||||
Title string `json:"title"`
|
||||
AlbumArtist Artist `json:"artist"`
|
||||
ReleaseDate string `json:"release_date"`
|
||||
|
@ -79,7 +79,7 @@ type Album struct {
|
|||
}
|
||||
|
||||
type User struct {
|
||||
Id int `json:"int"`
|
||||
ID int `json:"int"`
|
||||
UserName string `json:"username"`
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue