Moving utils.go to utils package

This commit is contained in:
aditya-K2
2021-12-13 01:35:40 +05:30
parent bc3e5b6741
commit 9b60cbc98e
9 changed files with 79 additions and 69 deletions

4
cache/cache.go vendored
View File

@@ -6,7 +6,7 @@ import (
"os"
"strings"
"github.com/aditya-K2/goMP/config"
"github.com/aditya-K2/goMP/utils"
)
var (
@@ -15,7 +15,7 @@ var (
)
func SetCacheDir(path string) {
CACHE_DIR = config.CheckDirectoryFmt(path)
CACHE_DIR = utils.CheckDirectoryFmt(path)
}
func Exists(artist, album string) bool {