mirror of
https://git.unlock-music.dev/um/cli.git
synced 2025-07-06 22:42:12 +08:00
Init Project
This commit is contained in:
15
algo/common/common.go
Normal file
15
algo/common/common.go
Normal file
@ -0,0 +1,15 @@
|
||||
package common
|
||||
|
||||
type Decoder interface {
|
||||
Decode() error
|
||||
GetCoverImage() []byte
|
||||
GetAudioData() []byte
|
||||
GetAudioExt() string
|
||||
GetMeta() *Meta
|
||||
}
|
||||
|
||||
type Meta interface {
|
||||
GetArtists() []string
|
||||
GetTitle() string
|
||||
GetAlbum() string
|
||||
}
|
Reference in New Issue
Block a user