Fix lint
This commit is contained in:
parent
fca01583bf
commit
d4e56bc3d5
1 changed files with 1 additions and 3 deletions
|
|
@ -16,9 +16,7 @@ import (
|
|||
"github.com/sipeed/picoclaw/pkg/media"
|
||||
)
|
||||
|
||||
var (
|
||||
audioExtensions = []string{".mp3", ".wav", ".ogg", ".m4a", ".flac", ".aac", ".wma"}
|
||||
)
|
||||
var audioExtensions = []string{".mp3", ".wav", ".ogg", ".m4a", ".flac", ".aac", ".wma"}
|
||||
|
||||
func AudioFormat(path string) (string, error) {
|
||||
ext := strings.ToLower(filepath.Ext(path))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue