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

16 lines
231 B
Go

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