mirror of
https://github.com/JuLi0n21/pwa-player.git
synced 2026-04-19 23:40:05 +00:00
36 lines
467 B
Go
36 lines
467 B
Go
package main
|
|
|
|
import "time"
|
|
|
|
type Song struct {
|
|
MD5Hash string
|
|
Title string
|
|
Artist string
|
|
Creator string
|
|
Folder string
|
|
File string
|
|
Audio string
|
|
Mapper string
|
|
TotalTime time.Duration
|
|
Url string
|
|
Image string
|
|
}
|
|
|
|
type CollectionPreview struct {
|
|
name string
|
|
image string
|
|
index int
|
|
items int
|
|
}
|
|
|
|
type Collection struct {
|
|
name string
|
|
items int
|
|
Songs []Song
|
|
}
|
|
|
|
type ActiveSearch struct {
|
|
artist string
|
|
Songs []Song
|
|
}
|