FIx linter errors

This commit is contained in:
Daniel 2022-09-29 10:55:01 +02:00
parent 3c697abd5b
commit 412b4242c2
21 changed files with 39 additions and 57 deletions

View file

@ -2,7 +2,6 @@ package badger
import (
"context"
"io/ioutil"
"os"
"reflect"
"sync"
@ -41,7 +40,7 @@ type TestRecord struct { //nolint:maligned
func TestBadger(t *testing.T) {
t.Parallel()
testDir, err := ioutil.TempDir("", "testing-")
testDir, err := os.MkdirTemp("", "testing-")
if err != nil {
t.Fatal(err)
}