Yonah c3db31172c
generic: pad for different lengths
This can be autodetected.

Signed-off-by: Yonah <contrib@gensokyo.uk>
2025-09-17 06:39:55 +09:00

23 lines
513 B
Go

package monstersirenfetch
// Songs is the response of /api/songs.
type Songs struct {
Code int `json:"code"`
Msg string `json:"msg"`
Data SongData `json:"data"`
}
// SongData represents [Songs.Data].
type SongData = struct {
List []Song `json:"list"`
Autoplay string `json:"autoplay"`
}
// Song represents the metadata of a song.
type Song struct {
CID StringInt `json:"cid"`
Name string `json:"name"`
AlbumCID StringInt `json:"albumCid"`
Artists []string `json:"artists"`
}