refactor: ioutil -> io

This commit is contained in:
sentriz
2022-03-10 00:42:41 +00:00
committed by Senan Kelly
parent 5420f01089
commit 74c955b723
3 changed files with 6 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
package db
import (
"io/ioutil"
"io"
"log"
"math/rand"
"os"
@@ -47,6 +47,6 @@ func TestGetSetting(t *testing.T) {
}
func TestMain(m *testing.M) {
log.SetOutput(ioutil.Discard)
log.SetOutput(io.Discard)
os.Exit(m.Run())
}