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

@ -4,7 +4,6 @@ package utils
import (
"fmt"
"io/ioutil"
"os"
"path/filepath"
"strings"
@ -23,7 +22,7 @@ func ExampleDirStructure() {
// /repo/b/d/f/g/h [707]
// /secret [700]
basePath, err := ioutil.TempDir("", "")
basePath, err := os.MkdirTemp("", "")
if err != nil {
fmt.Println(err)
return