refactor: parse Timeline as Timestamp[]

This commit is contained in:
CDN18 2024-09-27 20:28:22 +08:00
parent 45e42ce4ff
commit 6875b43b78
Signed by: CDN
GPG key ID: 0C656827F9F80080
2 changed files with 90 additions and 5 deletions

View file

@ -1,8 +1,15 @@
package main
type Timestamp struct {
Hours int
Minutes int
Seconds int
Milliseconds int
}
type Lyrics struct {
Metadata map[string]string
Timeline []string
Timeline []Timestamp
Content []string
}