fix(qmc): fix key from mmkv

This commit is contained in:
Unlock Music Dev
2022-12-05 08:54:40 +08:00
parent a9c976f47d
commit 423767ba63
4 changed files with 36 additions and 11 deletions

View File

@@ -4,6 +4,8 @@ import (
"io"
"path/filepath"
"strings"
"go.uber.org/zap"
)
type DecoderParams struct {
@@ -11,6 +13,8 @@ type DecoderParams struct {
Extension string // required, source extension, eg. ".mp3"
FilePath string // optional, source file path
Logger *zap.Logger // required
}
type NewDecoderFunc func(p *DecoderParams) Decoder