mirror of
https://github.com/gabehf/Koito.git
synced 2026-03-16 02:45:54 -07:00
chore: initial public commit
This commit is contained in:
commit
fc9054b78c
250 changed files with 32809 additions and 0 deletions
14
internal/models/track.go
Normal file
14
internal/models/track.go
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
package models
|
||||
|
||||
import "github.com/google/uuid"
|
||||
|
||||
type Track struct {
|
||||
ID int32 `json:"id"`
|
||||
Title string `json:"title"`
|
||||
Artists []SimpleArtist `json:"artists"`
|
||||
MbzID *uuid.UUID `json:"musicbrainz_id"`
|
||||
ListenCount int64 `json:"listen_count"`
|
||||
Duration int32 `json:"duration"`
|
||||
Image *uuid.UUID `json:"image"`
|
||||
AlbumID int32 `json:"album_id"`
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue