the start of the go backend

This commit is contained in:
2025-02-02 03:54:03 +01:00
parent bc353a90e7
commit ee7cf10b28
7 changed files with 638 additions and 0 deletions

35
go-backend/models.go Normal file
View File

@@ -0,0 +1,35 @@
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
}