Remove dependency of deprecated ioutil package

This commit is contained in:
Deluan
2021-07-20 20:00:58 -04:00
parent 774ad65155
commit 8afa2cd833
23 changed files with 77 additions and 86 deletions
+1 -2
View File
@@ -2,7 +2,6 @@ package persistence
import (
"context"
"io/ioutil"
"os"
"path/filepath"
@@ -89,7 +88,7 @@ var _ = Describe("AlbumRepository", func() {
})
Describe("getCoverFromPath", func() {
testFolder, _ := ioutil.TempDir("", "album_persistence_tests")
testFolder, _ := os.MkdirTemp("", "album_persistence_tests")
if err := os.MkdirAll(testFolder, 0777); err != nil {
panic(err)
}