mirror of
https://git.unlock-music.dev/um/cli.git
synced 2025-07-07 23:12:12 +08:00
refactor: use io.Reader instead of custom method
This commit is contained in:
@ -1,11 +1,12 @@
|
||||
package common
|
||||
|
||||
import (
|
||||
"io"
|
||||
"path/filepath"
|
||||
"strings"
|
||||
)
|
||||
|
||||
type NewDecoderFunc func([]byte) Decoder
|
||||
type NewDecoderFunc func(rd io.ReadSeeker) Decoder
|
||||
|
||||
type decoderItem struct {
|
||||
noop bool
|
||||
|
Reference in New Issue
Block a user