refactor: parse Timeline as Timestamp[]
This commit is contained in:
parent
45e42ce4ff
commit
6875b43b78
2 changed files with 90 additions and 5 deletions
9
model.go
9
model.go
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue