cli/algo/common/common.go
2020-12-26 03:20:52 +08:00

17 lines
247 B
Go

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