1
0
forked from um/cli
cli/algo/common/common.go
2020-12-26 03:21:07 +08:00

17 lines
248 B
Go

package common
type Decoder interface {
Validate() error
Decode() error
GetCoverImage() []byte
GetAudioData() []byte
GetAudioExt() string
GetMeta() Meta
}
type Meta interface {
GetArtists() []string
GetTitle() string
GetAlbum() string
}