1
0
forked from um/cli
cli/algo/common/common.go

17 lines
247 B
Go
Raw Normal View History

2020-12-25 14:39:50 +00:00
package common
type Decoder interface {
2020-12-25 16:49:03 +00:00
Validate() bool
2020-12-25 14:39:50 +00:00
Decode() error
GetCoverImage() []byte
GetAudioData() []byte
GetAudioExt() string
2020-12-25 16:49:03 +00:00
GetMeta() Meta
2020-12-25 14:39:50 +00:00
}
type Meta interface {
GetArtists() []string
GetTitle() string
GetAlbum() string
}